:root {
  --gallery-white: #ffffff;
  --gallery-canvas: #f8fafc;
  --gallery-paper: #fffef9;
  --gallery-ink: #15110f;
  --gallery-muted: #5f6673;
  --gallery-soft: #eef2f6;
  --gallery-line: rgba(21, 17, 15, 0.1);
  --gallery-line-strong: rgba(21, 17, 15, 0.18);
  --loteria-blue: #29bdf2;
  --loteria-green: #20a55a;
  --loteria-yellow: #ffd333;
  --loteria-magenta: #ec2f91;
  --loteria-red: #e43a2e;
  --loteria-purple: #6246d9;
  --cream: #fffef9;
  --ink: var(--gallery-ink);
  --muted: var(--gallery-muted);
  --red: var(--loteria-red);
  --orange: #ff8a24;
  --yellow: var(--loteria-yellow);
  --turquoise: var(--loteria-blue);
  --pink: var(--loteria-magenta);
  --green: var(--loteria-green);
  --purple: var(--loteria-purple);
  --blue: var(--loteria-blue);
  --white: var(--gallery-white);
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --small-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
  --hairline: var(--gallery-line);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(41, 189, 242, 0.12), transparent 28rem),
    radial-gradient(circle at 94% 12%, rgba(236, 47, 145, 0.11), transparent 25rem),
    radial-gradient(circle at 80% 92%, rgba(255, 211, 51, 0.13), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 55%, #ffffff 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

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

.landing,
.builder-page {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.landing::before,
.builder-page::before {
  background-image:
    linear-gradient(45deg, rgba(201, 42, 28, 0.055) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(8, 127, 140, 0.055) 25%, transparent 25%);
  background-size: 30px 30px, 30px 30px, 18px 18px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 72%);
  opacity: 0.38;
  pointer-events: none;
  position: fixed;
}

.top-nav,
.builder-header {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1220px;
  padding: 24px;
  position: relative;
  z-index: 3;
}

.top-nav {
  backdrop-filter: blur(18px);
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.92), rgba(255, 241, 199, 0.86)),
    rgba(255, 250, 242, 0.88);
  border: 2px solid rgba(29, 15, 10, 0.12);
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(103, 31, 13, 0.16);
  margin-top: 18px;
  padding: 10px 14px;
  position: sticky;
  top: 14px;
}

.top-nav::after {
  background: linear-gradient(90deg, var(--red), var(--green), var(--turquoise));
  border-radius: 999px;
  bottom: -8px;
  content: "";
  height: 6px;
  left: 34px;
  position: absolute;
  right: 34px;
}

@media (min-width: 701px) {
  .landing {
    padding-top: 112px;
  }

  .landing .top-nav {
    left: 50%;
    margin-top: 0;
    position: fixed;
    top: 18px;
    transform: translateX(-50%);
    width: min(1220px, calc(100% - 48px));
    z-index: 20;
  }
}

@media (max-width: 760px) {
  .seo-home-route .lm-hero h1 {
    font-size: clamp(2.25rem, 10.5vw, 3.35rem) !important;
    letter-spacing: -0.04em !important;
    line-height: 0.93 !important;
  }

  .seo-home-route .lm-hero h1 em {
    font-size: clamp(1.05rem, 5.4vw, 1.55rem) !important;
    letter-spacing: 0 !important;
    line-height: 1.12 !important;
    max-width: 100%;
  }
}

/* Public SEO pages: match the white-first Gallery Lotería theme */
.seo-redesign,
.static-seo-page {
  background:
    radial-gradient(circle at 10% 4%, rgba(41, 189, 242, 0.14), transparent 22rem),
    radial-gradient(circle at 92% 9%, rgba(236, 47, 145, 0.1), transparent 22rem),
    radial-gradient(circle at 50% 100%, rgba(255, 211, 51, 0.12), transparent 28rem),
    var(--gallery-canvas) !important;
  color: var(--gallery-ink) !important;
}

.seo-redesign::before,
.static-seo-page::before {
  background-image:
    linear-gradient(90deg, rgba(41, 189, 242, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(236, 47, 145, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.26;
}

.seo-redesign .top-nav {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(21, 17, 15, 0.1) !important;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.1) !important;
  color: var(--gallery-ink) !important;
}

.seo-redesign .top-nav::after {
  background: linear-gradient(90deg, var(--loteria-blue), var(--loteria-green), var(--loteria-yellow), var(--loteria-magenta), var(--loteria-purple)) !important;
}

.seo-redesign .brand-label,
.seo-redesign .nav-links a,
.seo-redesign .nav-ghost,
.seo-redesign .nav-cta,
.seo-redesign .secondary-button {
  color: var(--gallery-ink) !important;
}

.seo-redesign .nav-ghost,
.seo-redesign .nav-cta,
.seo-redesign .secondary-button,
.seo-redesign .language-toggle {
  background: rgba(255, 255, 255, 0.86) !important;
  border-color: rgba(21, 17, 15, 0.1) !important;
}

.seo-redesign .language-toggle button,
.seo-redesign .language-toggle a {
  color: var(--gallery-muted) !important;
}

.seo-redesign .language-toggle button.active,
.seo-redesign .language-toggle a.active {
  background: var(--gallery-ink) !important;
  color: #ffffff !important;
}

.seo-redesign .seo-topic-links {
  margin-top: 12px;
  max-width: 1320px;
}

.seo-redesign .seo-topic-links a,
.static-seo-page .seo-static-nav a {
  background: #ffffff !important;
  border: 1px solid rgba(21, 17, 15, 0.1) !important;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  color: var(--gallery-ink) !important;
  text-decoration: none;
}

.seo-redesign .seo-topic-links a:hover,
.static-seo-page .seo-static-nav a:hover {
  background: linear-gradient(135deg, var(--loteria-yellow), var(--loteria-magenta)) !important;
  color: #ffffff !important;
}

.seo-redesign .seo-landing-hero,
.static-seo-page .seo-hero {
  background:
    linear-gradient(90deg, var(--loteria-blue) 0 7px, transparent 7px),
    radial-gradient(circle at 78% 18%, rgba(41, 189, 242, 0.18), transparent 20rem),
    radial-gradient(circle at 12% 88%, rgba(255, 211, 51, 0.14), transparent 22rem),
    rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(21, 17, 15, 0.1) !important;
  border-radius: 42px !important;
  box-shadow: 0 28px 75px rgba(15, 23, 42, 0.11) !important;
  color: var(--gallery-ink) !important;
  margin-left: auto;
  margin-right: auto;
  max-width: 1360px;
}

.seo-redesign .seo-landing-hero h1,
.static-seo-page .seo-hero h1 {
  color: var(--gallery-ink) !important;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
  font-weight: 980 !important;
  letter-spacing: -0.07em !important;
  line-height: 0.9 !important;
}

.seo-redesign .seo-landing-hero .eyebrow,
.static-seo-page .seo-hero .eyebrow {
  color: var(--loteria-magenta) !important;
}

.seo-redesign .seo-landing-hero p,
.static-seo-page .seo-hero p {
  color: var(--gallery-muted) !important;
}

.seo-redesign .seo-price-note,
.static-seo-page .seo-price-note {
  background: linear-gradient(135deg, rgba(41, 189, 242, 0.1), rgba(255, 211, 51, 0.16)) !important;
  border-color: rgba(41, 189, 242, 0.22) !important;
  color: var(--gallery-ink) !important;
}

.seo-redesign .seo-hero-image,
.static-seo-page .static-seo-hero-image {
  background: #ffffff !important;
  border: 1px solid rgba(21, 17, 15, 0.1) !important;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.13) !important;
  transform: rotate(1.2deg);
}

.seo-redesign .seo-hero-image figcaption {
  color: var(--gallery-muted) !important;
}

.seo-redesign .seo-content-grid,
.seo-redesign .seo-steps-section,
.seo-redesign .seo-faq-section,
.seo-redesign .seo-related-section,
.static-seo-page section,
.static-seo-page .seo-static-nav {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(21, 17, 15, 0.08) !important;
  border-radius: 34px !important;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08) !important;
  color: var(--gallery-ink) !important;
}

.seo-redesign .seo-content-grid,
.seo-redesign .seo-steps-section,
.seo-redesign .seo-faq-section,
.seo-redesign .seo-related-section {
  margin-top: 28px !important;
  max-width: 1360px !important;
  padding: clamp(28px, 5vw, 62px) clamp(20px, 4vw, 56px) !important;
}

.seo-redesign .seo-content-grid article,
.seo-redesign .flow-step,
.seo-redesign .seo-faq-grid details,
.seo-redesign .seo-related-grid a,
.static-seo-page details {
  background:
    linear-gradient(180deg, #ffffff, rgba(248, 250, 252, 0.9)),
    #ffffff !important;
  border: 1px solid rgba(21, 17, 15, 0.1) !important;
  border-radius: 24px !important;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07) !important;
  color: var(--gallery-ink) !important;
}

.seo-redesign .seo-content-grid article:nth-child(3n + 1),
.seo-redesign .flow-step:nth-child(4n + 1) {
  border-top: 5px solid var(--loteria-blue) !important;
}

.seo-redesign .seo-content-grid article:nth-child(3n + 2),
.seo-redesign .flow-step:nth-child(4n + 2) {
  border-top: 5px solid var(--loteria-green) !important;
}

.seo-redesign .seo-content-grid article:nth-child(3n + 3),
.seo-redesign .flow-step:nth-child(4n + 3) {
  border-top: 5px solid var(--loteria-magenta) !important;
}

.seo-redesign .flow-step:nth-child(4n + 4) {
  border-top: 5px solid var(--loteria-yellow) !important;
}

.seo-redesign .section-heading h2,
.seo-redesign .seo-content-grid h2,
.seo-redesign .seo-faq-section h2,
.seo-redesign .seo-steps-section h2,
.seo-redesign .seo-related-section h2,
.static-seo-page h2 {
  color: var(--gallery-ink) !important;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
  font-weight: 950 !important;
  letter-spacing: -0.045em !important;
  line-height: 0.98 !important;
}

.seo-redesign .section-heading p,
.seo-redesign .seo-content-grid ul,
.seo-redesign .seo-faq-grid p,
.seo-redesign .seo-related-grid span,
.seo-redesign .flow-step p,
.static-seo-page li,
.static-seo-page details p {
  color: var(--gallery-muted) !important;
}

.seo-redesign .flow-step span {
  background: var(--loteria-blue) !important;
  color: #ffffff !important;
}

.seo-redesign .flow-step:nth-child(2) span {
  background: var(--loteria-green) !important;
}

.seo-redesign .flow-step:nth-child(3) span {
  background: var(--loteria-magenta) !important;
}

.seo-redesign .flow-step:nth-child(4) span {
  background: var(--loteria-purple) !important;
}

.seo-redesign .seo-related-grid strong,
.static-seo-page section a {
  color: var(--loteria-magenta) !important;
}

.seo-redesign .final-cta {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 211, 51, 0.28), transparent 20rem),
    linear-gradient(135deg, var(--loteria-magenta), var(--loteria-red)) !important;
  border-radius: 36px !important;
  box-shadow: 0 24px 65px rgba(236, 47, 145, 0.16) !important;
  color: #ffffff !important;
  margin-bottom: 28px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1360px !important;
}

.seo-redesign .final-cta h2 {
  color: #ffffff !important;
}

.seo-redesign .site-footer {
  background: #ffffff !important;
  border: 1px solid rgba(21, 17, 15, 0.08) !important;
  border-radius: 34px !important;
  box-shadow: 0 20px 52px rgba(15, 23, 42, 0.08) !important;
  color: var(--gallery-ink) !important;
  margin-bottom: 28px;
  max-width: 1360px !important;
}

.seo-redesign .site-footer p,
.seo-redesign .site-footer a,
.seo-redesign .site-footer button {
  color: var(--gallery-muted) !important;
}

@media (max-width: 980px) {
  .seo-redesign .seo-landing-hero,
  .seo-redesign .seo-content-grid,
  .seo-redesign .seo-related-grid,
  .static-seo-page .seo-hero {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 700px) {
  .seo-redesign .top-nav,
  .seo-redesign .nav-links {
    background: rgba(255, 255, 255, 0.97) !important;
  }

  .seo-redesign .seo-landing-hero,
  .seo-redesign .seo-content-grid,
  .seo-redesign .seo-steps-section,
  .seo-redesign .seo-faq-section,
  .seo-redesign .seo-related-section,
  .seo-redesign .final-cta,
  .seo-redesign .site-footer,
  .static-seo-page section,
  .static-seo-page .seo-static-nav {
    border-radius: 26px !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
  }

  .seo-redesign .seo-landing-hero h1,
  .static-seo-page .seo-hero h1 {
    font-size: clamp(2.55rem, 13vw, 4.45rem) !important;
    letter-spacing: -0.06em !important;
  }

  .seo-redesign .seo-faq-grid,
  .seo-redesign .flow-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Landing proof sections: compact, clearer, full-image marketing uploads */
.landing-redesign .lm-gallery,
.landing-redesign .lm-print-section,
.landing-redesign .lm-reviews {
  padding: clamp(30px, 4vw, 54px) clamp(18px, 4vw, 48px) !important;
}

.landing-redesign .lm-gallery .lm-section-head,
.landing-redesign .lm-print-section .lm-section-head,
.landing-redesign .lm-reviews .lm-section-head {
  display: block;
  margin-bottom: 20px;
  max-width: 860px;
}

.landing-redesign .lm-gallery .lm-section-head h2,
.landing-redesign .lm-print-section .lm-section-head h2,
.landing-redesign .lm-reviews .lm-section-head h2 {
  font-size: clamp(2rem, 3.15vw, 3.65rem) !important;
  letter-spacing: -0.045em;
  line-height: 0.95;
  max-width: 720px;
}

.landing-redesign .lm-gallery .lm-section-head p:not(.lm-kicker),
.landing-redesign .lm-print-section .lm-section-head p:not(.lm-kicker),
.landing-redesign .lm-reviews .lm-section-head p:not(.lm-kicker) {
  font-size: clamp(0.98rem, 1.15vw, 1.12rem);
  line-height: 1.5;
  max-width: 680px;
}

.landing-redesign .lm-sample-grid {
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.landing-redesign .lm-sample-card {
  border-radius: 20px;
  padding: 10px;
}

.landing-redesign .lm-sample-art {
  background-color: #fffaf0;
  background-repeat: no-repeat;
}

.landing-redesign .lm-sample-art.has-custom-image {
  background-size: contain !important;
  box-shadow: inset 0 -82px 62px rgba(20, 12, 8, 0.22), 0 14px 30px rgba(15, 23, 42, 0.1);
}

.landing-redesign .lm-sample-art.has-custom-image::before,
.landing-redesign .lm-sample-art.has-custom-image::after {
  opacity: 0;
}

.landing-redesign .lm-sample-art.has-custom-image strong {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(21, 17, 15, 0.08);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
  font-size: 0.82rem;
  max-width: calc(100% - 18px);
}

.landing-redesign .lm-sample-card h3 {
  font-size: 1.05rem;
  line-height: 1.05;
  margin: 12px 4px 5px;
}

.landing-redesign .lm-sample-card p {
  font-size: 0.84rem;
  line-height: 1.35;
  margin: 0 4px 6px;
}

.landing-redesign .lm-print-section {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
}

.landing-redesign .lm-print-section .lm-section-head {
  margin-bottom: 0;
  position: sticky;
  top: 110px;
}

.landing-redesign .lm-print-section .product-carousel-track {
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-redesign .lm-print-section .physical-product-card {
  border-radius: 20px;
  gap: 10px;
  padding: 12px;
}

.landing-redesign .physical-product-photo {
  background-color: #fffaf0;
  border-width: 5px;
  border-radius: 18px;
  padding: 8px;
}

.landing-redesign .physical-product-photo.has-custom-image {
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
}

.landing-redesign .physical-product-card strong {
  font-size: 1.02rem;
  line-height: 1.08;
}

.landing-redesign .physical-product-card p {
  font-size: 0.84rem;
  line-height: 1.35;
  margin: 4px 0;
}

.landing-redesign .physical-product-card small {
  font-size: 0.78rem;
}

.landing-redesign .lm-reviews {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(230px, 0.62fr) minmax(0, 1.38fr);
  align-items: start;
}

.landing-redesign .lm-reviews .lm-section-head {
  margin-bottom: 0;
  position: sticky;
  top: 110px;
}

.landing-redesign .lm-review-grid {
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.landing-redesign .lm-review-card {
  border-radius: 20px;
  padding: 10px;
}

.landing-redesign .lm-review-photo {
  background-color: #fffaf0;
  border-radius: 16px;
  margin-bottom: 10px;
}

.landing-redesign .lm-review-photo.has-custom-image {
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
}

.landing-redesign .lm-review-card strong {
  display: block;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.landing-redesign .lm-review-card p {
  font-size: 0.75rem;
  line-height: 1.32;
  margin-top: 5px;
}

@media (max-width: 980px) {
  .landing-redesign .lm-print-section,
  .landing-redesign .lm-reviews {
    display: block;
  }

  .landing-redesign .lm-print-section .lm-section-head,
  .landing-redesign .lm-reviews .lm-section-head {
    margin-bottom: 18px;
    position: static;
  }

  .landing-redesign .lm-print-section .product-carousel-track {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  }
}

.brand-mark {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--ink);
  display: inline-flex;
  font-weight: 900;
  gap: 12px;
  letter-spacing: 0;
  padding: 0;
}

.brand-label {
  font-weight: 950;
}

.logo-mark {
  background: #fff4dc;
  border: 4px solid #fff;
  border-radius: 16px;
  box-shadow: var(--small-shadow);
  display: block;
  height: 48px;
  object-fit: cover;
  width: 48px;
}

.access-status-badge {
  align-items: flex-start;
  background:
    linear-gradient(135deg, rgba(255, 214, 77, 0.18), rgba(15, 163, 168, 0.12)),
    rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(37, 23, 17, 0.1);
  border-left: 6px solid var(--green);
  border-radius: 18px;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
}

.access-status-badge strong {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 950;
  text-transform: uppercase;
}

.access-status-badge span {
  color: #60483a;
  font-size: 0.86rem;
  font-weight: 820;
  line-height: 1.35;
}

.access-status-badge.compact {
  border-radius: 14px;
  margin-top: 10px;
  padding: 9px 10px;
}

.access-status-badge.compact strong {
  font-size: 0.72rem;
}

.access-status-badge.compact span {
  font-size: 0.76rem;
}

.access-status-badge.needed {
  border-left-color: var(--red);
}

.access-status-badge.available {
  border-left-color: var(--turquoise);
}

.access-status-badge.locked {
  border-left-color: #8b2f76;
}

.access-status-badge.paid,
.access-status-badge.admin {
  border-left-color: var(--green);
}

.project-access-callout {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 22px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.project-access-callout p {
  color: #60483a;
  font-weight: 820;
  line-height: 1.45;
  margin: 0;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-weight: 800;
  justify-content: flex-end;
}

.nav-dropdowns {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  align-items: center;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 999px;
  color: #4f281c;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 950;
  gap: 8px;
  list-style: none;
  min-height: 40px;
  padding: 0 13px;
  user-select: none;
}

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

.nav-dropdown summary::after {
  content: "⌄";
  font-size: 0.86rem;
  line-height: 1;
  transform: translateY(-1px);
}

.nav-dropdown[open] summary,
.nav-dropdown summary:hover {
  background: #fff;
  color: var(--red);
}

.nav-dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(21, 17, 15, 0.1);
  border-radius: 18px;
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.16);
  display: grid;
  gap: 5px;
  left: 0;
  min-width: 250px;
  padding: 10px;
  position: absolute;
  top: calc(100% + 10px);
  z-index: 40;
}

.nav-dropdown-menu a {
  border-radius: 12px;
  color: var(--gallery-ink);
  display: block;
  font-size: 0.88rem;
  font-weight: 850;
  padding: 10px 11px;
  text-decoration: none;
}

.nav-dropdown-menu a:hover {
  background: #fff4dc;
  color: var(--loteria-magenta);
}

.mobile-menu-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 2px solid var(--hairline);
  border-radius: 999px;
  color: var(--ink);
  display: none;
  font-size: 0.8rem;
  font-weight: 950;
  gap: 7px;
  min-height: 42px;
  padding: 0 14px;
}

.mobile-menu-button span {
  display: none;
}

.mobile-menu-button::before {
  content: "☰";
  font-size: 1.1rem;
  line-height: 1;
}

.account-controls,
.builder-header-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.language-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 2px solid var(--hairline);
  border-radius: 999px;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
}

.language-toggle button,
.language-toggle a {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #60483a;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 950;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
}

.language-toggle button.active,
.language-toggle a.active {
  background: var(--ink);
  color: #fff;
}

.nav-links a {
  color: #4f281c;
}

.nav-links a:hover,
.nav-ghost:hover {
  color: var(--red);
}

.nav-ghost {
  align-items: center;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 999px;
  color: #4f281c;
  display: inline-flex;
  gap: 7px;
  font-weight: 900;
  min-height: 40px;
  padding: 0 13px;
}

.nav-projects-button {
  background: #fff;
  box-shadow: 0 8px 18px rgba(89, 37, 21, 0.1);
}

.nav-icon {
  align-items: center;
  background: rgba(217, 32, 22, 0.1);
  border-radius: 999px;
  color: var(--red);
  display: inline-flex;
  font-size: 0.72rem;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.nav-cta,
.primary-button,
.secondary-button {
  align-items: center;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border 180ms ease;
}

.primary-button {
  background: linear-gradient(135deg, var(--red) 0%, #8f1f17 100%);
  box-shadow: 0 16px 34px rgba(201, 42, 28, 0.24), inset 0 1px rgba(255, 255, 255, 0.28);
  color: #fff;
}

.secondary-button,
.nav-cta {
  background: rgba(255, 250, 240, 0.9);
  border: 2px solid rgba(29, 15, 10, 0.16);
  color: var(--ink);
}

.primary-button:hover,
.secondary-button:hover,
.nav-cta:hover {
  box-shadow: 0 18px 42px rgba(89, 37, 21, 0.2);
  transform: translateY(-2px);
}

.primary-button:active,
.secondary-button:active,
.nav-cta:active,
.small-button:active {
  transform: translateY(0) scale(0.98);
}

.large {
  min-height: 58px;
  padding: 0 30px;
}

.small-button {
  min-height: 42px;
  padding: 0 16px;
}

.full {
  width: 100%;
}

.section-band,
.access-code-strip,
.feature-section,
.seo-intent-section,
.how-section,
.sample-section,
.physical-shop-section,
.review-section,
.final-cta,
.site-footer,
.builder-shell {
  margin: 0 auto;
  max-width: 1360px;
  padding: 86px 32px;
  position: relative;
  z-index: 2;
}

.access-code-strip {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(29, 15, 10, 0.92), rgba(79, 40, 28, 0.88)),
    var(--ink);
  border-radius: 28px;
  box-shadow: var(--small-shadow);
  color: #fffaf0;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  margin-top: 24px;
  padding-bottom: 26px;
  padding-top: 26px;
}

.access-code-strip h2 {
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: clamp(1.5rem, 2.4vw, 2.35rem);
  line-height: 1;
  margin-bottom: 8px;
}

.access-code-strip p {
  color: rgba(255, 250, 240, 0.84);
  line-height: 1.45;
  margin: 0;
  max-width: 760px;
}

.access-code-strip .eyebrow {
  color: var(--yellow);
  margin-bottom: 8px;
}

.access-code-strip .secondary-button {
  background: #fffaf0;
  flex: 0 0 auto;
}

.feature-section {
  background: rgba(255, 250, 240, 0.78);
  border: 1px solid rgba(29, 15, 10, 0.08);
  border-radius: 30px;
  box-shadow: var(--small-shadow);
  padding-top: 58px;
}

.seo-intent-section {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(201, 42, 28, 0.08), rgba(47, 111, 69, 0.1)),
    rgba(255, 250, 240, 0.72);
  border: 1px solid rgba(29, 15, 10, 0.08);
  border-radius: 34px;
  box-shadow: var(--small-shadow);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  margin-top: 28px;
  padding-bottom: 44px;
  padding-top: 44px;
}

.seo-intent-section h2 {
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: clamp(2rem, 3.4vw, 3.7rem);
  line-height: 1;
  margin-bottom: 14px;
}

.seo-intent-section p {
  color: #5b3526;
  font-size: 1rem;
  font-weight: 780;
  line-height: 1.65;
  margin: 0;
  max-width: 740px;
}

.seo-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.seo-chip-grid span {
  background: #fffaf0;
  border: 1px solid rgba(29, 15, 10, 0.1);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(89, 37, 21, 0.08);
  color: #4f281c;
  font-size: 0.86rem;
  font-weight: 950;
  padding: 10px 14px;
}

.hero {
  background:
    radial-gradient(circle at 96% 48%, rgba(232, 79, 61, 0.16), transparent 8rem),
    radial-gradient(circle at 88% 64%, rgba(15, 163, 168, 0.16), transparent 7rem),
    linear-gradient(135deg, rgba(255, 250, 240, 0.96), rgba(255, 243, 216, 0.82)),
    #fff3d8;
  border: 1px solid rgba(29, 15, 10, 0.08);
  border-radius: 34px;
  box-shadow: var(--shadow);
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  margin-left: auto;
  margin-right: auto;
  min-height: clamp(610px, calc(100vh - 112px), 780px);
  overflow: hidden;
  padding: clamp(34px, 5vw, 62px);
  position: relative;
  width: min(100% - 48px, 1540px);
}

.hero::before {
  display: none;
}

.hero::after {
  background: linear-gradient(90deg, var(--red), var(--green), var(--turquoise));
  border-radius: 999px;
  bottom: 18px;
  box-shadow: 0 12px 26px rgba(89, 37, 21, 0.12);
  content: "";
  height: 10px;
  left: 24px;
  position: absolute;
  width: min(420px, calc(100% - 48px));
  z-index: 3;
}

.hero-copy {
  max-width: 610px;
  min-width: 0;
  position: relative;
  width: 100%;
  z-index: 2;
  align-self: center;
}

.hero-copy::before {
  display: none;
}

.eyebrow {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1,
.builder-intro h1 {
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: clamp(3.3rem, 6.5vw, 7.4rem);
  letter-spacing: 0;
  line-height: 0.9;
  margin-bottom: 24px;
  max-width: 620px;
  text-wrap: balance;
}

.hero-brand-line {
  display: grid;
  gap: 0;
  margin: 0 0 12px;
}

.hero-brand-line > span:first-child {
  color: var(--ink);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.8rem, 7vw, 7.2rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.78;
}

.hero-brand-line .maker-word {
  font-size: clamp(3rem, 5.6vw, 5.8rem);
}

.hero .seo-home-title {
  color: #3b1c12;
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: clamp(2rem, 3.4vw, 3.85rem);
  line-height: 0.96;
  margin-bottom: 16px;
  max-width: 700px;
}

.hero-title-lockup {
  display: grid;
  gap: 0;
}

.hero-title-lockup > span:first-child {
  color: var(--ink);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.5rem, 8.2vw, 9.5rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.78;
}

.maker-word {
  display: flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 6.7vw, 7.7rem);
  font-weight: 950;
  line-height: 0.78;
}

.maker-word i {
  font-style: normal;
}

.maker-word i:nth-child(1) {
  color: var(--red);
}

.maker-word i:nth-child(2) {
  color: var(--green);
}

.maker-word i:nth-child(3) {
  color: #de6d93;
}

.maker-word i:nth-child(4) {
  color: var(--turquoise);
}

.maker-word i:nth-child(5) {
  color: var(--purple);
}

.hero-sub {
  color: #4f281c;
  font-size: 1.18rem;
  line-height: 1.55;
  max-width: 535px;
}

.hero-slogan {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -10px 0 22px;
}

.hero-slogan span {
  background: var(--ink);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(103, 31, 13, 0.16);
  color: #fffaf0;
  font-size: 0.92rem;
  font-weight: 950;
  padding: 9px 12px;
  transform-origin: center;
  animation: wordPulse 4.8s ease-in-out infinite;
}

.hero-slogan span:nth-child(2) {
  animation-delay: 0.25s;
  background: var(--red);
}

.hero-slogan span:nth-child(3) {
  animation-delay: 0.5s;
  background: var(--green);
}

.hero-slogan span:nth-child(4) {
  animation-delay: 0.75s;
  background: var(--purple);
}

@keyframes wordPulse {
  0%,
  74%,
  100% {
    transform: translateY(0) scale(1);
  }
  82% {
    transform: translateY(-4px) scale(1.04);
  }
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.trust-strip span {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(29, 15, 10, 0.08);
  border-radius: 999px;
  color: #4f281c;
  font-weight: 950;
  padding: 10px 14px;
}

.hero-artwork {
  inset: 0;
  overflow: hidden;
  position: absolute;
  z-index: 0;
}

.hero-artwork img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}

.hero-artwork::after {
  background:
    linear-gradient(90deg, rgba(255, 243, 199, 0.98) 0%, rgba(255, 243, 199, 0.95) 34%, rgba(255, 243, 199, 0.72) 48%, rgba(255, 243, 199, 0.08) 72%),
    linear-gradient(180deg, rgba(255, 243, 199, 0.05), rgba(255, 243, 199, 0.18));
  content: "";
  inset: 0;
  position: absolute;
}

.hero-artwork-card {
  background: rgba(255, 250, 240, 0.88);
  border: 2px solid rgba(29, 15, 10, 0.15);
  border-radius: 22px;
  bottom: 34px;
  box-shadow: var(--small-shadow);
  display: grid;
  gap: 4px;
  max-width: 230px;
  padding: 16px 18px;
  position: absolute;
  right: 34px;
  z-index: 2;
}

.hero-artwork-card strong {
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: 1.2rem;
  line-height: 1;
}

.hero-artwork-card span {
  color: #5b3526;
  font-weight: 900;
}

.hero-showcase {
  align-self: center;
  height: min(660px, 64vw);
  min-height: 500px;
  pointer-events: none;
  position: relative;
  right: auto;
  top: auto;
  width: min(100%, 820px);
  z-index: 1;
}

.hero-image-showcase {
  align-items: center;
  display: flex;
  justify-content: center;
}

.hero-replacement-image {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  max-height: 660px;
  overflow: hidden;
  position: relative;
  width: min(100%, 820px);
}

.hero-image-showcase.is-loading .hero-replacement-image {
  animation: imageLoadingSweep 1.4s ease-in-out infinite;
}

.hero-replacement-image img {
  display: block;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  filter: drop-shadow(0 24px 34px rgba(29, 15, 10, 0.18));
  transition: opacity 320ms ease;
  width: auto;
}

.hero-image-showcase.is-ready .hero-replacement-image img {
  opacity: 1;
}

@keyframes imageLoadingSweep {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 220% 50%;
  }
}

.hero-replacement-image span {
  color: rgba(201, 42, 28, 0.22);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 950;
  left: 50%;
  letter-spacing: 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.realistic-board {
  aspect-ratio: 5 / 7;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 213, 31, 0.18), transparent 14rem),
    #ffecc5;
  border: 2px solid rgba(29, 15, 10, 0.12);
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  height: min(100%, 760px);
  margin-left: auto;
  max-height: 100%;
  width: min(78%, 600px);
  overflow: hidden;
  padding: 22px 24px 16px;
  position: relative;
  transform: rotate(3deg);
}

.hero-deck-stack {
  bottom: 29%;
  filter: drop-shadow(0 20px 26px rgba(29, 15, 10, 0.24));
  height: 210px;
  left: 3%;
  position: absolute;
  transform: rotate(-7deg);
  width: 152px;
  z-index: 4;
}

.hero-deck-stack > span {
  background: #f8f7f0;
  border: 2px solid rgba(29, 15, 10, 0.12);
  border-radius: 14px;
  box-shadow: 0 10px 18px rgba(29, 15, 10, 0.12);
  inset: 14px -9px -12px 9px;
  position: absolute;
}

.hero-deck-stack > span:nth-child(2) {
  inset: 7px -4px -6px 5px;
}

.hero-deck-card {
  background: #fff8e5;
  border: 3px solid #ffffff;
  border-radius: 15px;
  box-shadow: inset 0 0 0 2px rgba(8, 127, 140, 0.7);
  display: grid;
  gap: 5px;
  grid-template-rows: 1fr auto auto;
  height: 100%;
  overflow: hidden;
  padding: 12px;
  position: relative;
  text-align: center;
}

.hero-deck-photo {
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 214, 77, 0.95) 0 3px, transparent 4px),
    radial-gradient(circle at 26% 56%, rgba(239, 93, 168, 0.95) 0 3px, transparent 4px),
    radial-gradient(circle at 76% 64%, rgba(255, 250, 240, 0.95) 0 2px, transparent 3px),
    linear-gradient(135deg, #087f8c, #0b6d78);
  background-position: center;
  background-size: cover;
  border-radius: 9px;
  min-height: 0;
  position: relative;
}

.hero-deck-photo::after {
  background:
    radial-gradient(circle at 22% 20%, #ffd64d 0 3px, transparent 4px),
    radial-gradient(circle at 62% 30%, #ef5da8 0 3px, transparent 4px),
    radial-gradient(circle at 42% 66%, #fff3d8 0 2px, transparent 3px);
  content: "";
  inset: 0;
  opacity: 0.82;
  position: absolute;
}

.hero-deck-card strong {
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  margin-top: -48px;
  position: relative;
  text-shadow: 0 2px 4px rgba(29, 15, 10, 0.36);
  transform: rotate(-9deg);
  z-index: 2;
}

.hero-deck-card small {
  color: #fffaf0;
  font-size: 0.56rem;
  font-weight: 950;
  margin-top: -20px;
  position: relative;
  text-transform: uppercase;
  z-index: 2;
}

.realistic-board::before,
.realistic-board::after {
  background:
    radial-gradient(circle, var(--green) 0 3px, transparent 4px),
    radial-gradient(circle, var(--pink) 0 3px, transparent 4px),
    radial-gradient(circle, var(--turquoise) 0 3px, transparent 4px);
  background-position: 0 18px, 0 52px, 0 86px;
  background-repeat: repeat-y;
  background-size: 20px 68px;
  content: "";
  opacity: 0.75;
  position: absolute;
  top: 94px;
  bottom: 54px;
  width: 20px;
}

.realistic-board::before {
  left: 6px;
}

.realistic-board::after {
  right: 6px;
}

.realistic-board-heading {
  display: grid;
  line-height: 1;
  text-align: center;
  z-index: 1;
}

.realistic-board-heading strong {
  color: var(--red);
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 3.25rem);
  font-weight: 950;
  letter-spacing: 0.08em;
}

.realistic-board-heading span {
  color: var(--green);
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: clamp(0.78rem, 1.2vw, 1.1rem);
  font-style: italic;
  font-weight: 950;
  margin-top: -2px;
}

.realistic-grid {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 0;
  padding: 0 12px;
  z-index: 1;
}

.realistic-card,
.floating-style-card {
  aspect-ratio: 2.5 / 3.5;
  background: #fff4d7;
  border: 2px solid rgba(29, 15, 10, 0.88);
  border-radius: 7px;
  box-shadow: 0 8px 16px rgba(29, 15, 10, 0.12);
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.realistic-photo {
  background-color: #d8b68c;
  background-repeat: no-repeat;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.realistic-photo::after {
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.18));
  content: "";
  inset: 0;
  position: absolute;
}

.realistic-photo span {
  color: #111;
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: clamp(0.5rem, 0.8vw, 0.78rem);
  font-weight: 950;
  left: 6px;
  line-height: 1;
  position: absolute;
  text-shadow:
    -1px -1px 0 rgba(255,255,255,0.85),
    1px -1px 0 rgba(255,255,255,0.85),
    -1px 1px 0 rgba(255,255,255,0.85),
    1px 1px 0 rgba(255,255,255,0.85);
  top: 6px;
  z-index: 2;
}

.shadow-label .realistic-photo strong {
  background: rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  bottom: 7px;
  color: #0d0906;
  display: block;
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: clamp(0.46rem, 0.72vw, 0.72rem);
  font-weight: 950;
  left: 7px;
  line-height: 0.94;
  max-height: 2.05em;
  overflow: hidden;
  padding: 3px 5px;
  position: absolute;
  right: 7px;
  text-align: center;
  text-transform: uppercase;
  z-index: 2;
  -webkit-text-stroke: 2px rgba(255,255,255,0.88);
  paint-order: stroke fill;
}

.caption-band .realistic-photo {
  border-bottom: 2px solid rgba(29, 15, 10, 0.88);
  height: 77%;
}

.caption-band > strong {
  align-items: center;
  color: #1d0f0a;
  display: flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.52rem, 0.8vw, 0.78rem);
  font-weight: 900;
  height: 23%;
  justify-content: center;
  line-height: 1;
  padding: 2px 4px;
  text-align: center;
}

.realistic-board-footer {
  align-items: center;
  color: var(--ink);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  padding: 0 10px;
  z-index: 1;
}

.realistic-board-footer span {
  background: rgba(255, 250, 240, 0.86);
  border-radius: 999px;
  font-size: clamp(0.48rem, 0.8vw, 0.75rem);
  font-weight: 900;
  justify-self: start;
  padding: 5px 8px;
}

.realistic-board-footer strong {
  color: var(--red);
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.6rem);
  grid-column: 2;
}

.hero-floating-cards {
  bottom: 2%;
  display: contents;
  left: 0;
  position: absolute;
  z-index: 5;
}

.floating-style-card {
  border-width: 3px;
  height: 190px;
  position: absolute;
  width: 136px;
  z-index: 5;
}

.floating-one {
  bottom: 8%;
  left: 0;
  transform: rotate(-10deg);
}

.floating-two {
  bottom: 11%;
  left: 150px;
  transform: rotate(8deg);
}

.mockup-stage {
  aspect-ratio: 1 / 0.92;
  bottom: 18px;
  height: min(610px, 92%);
  max-width: 100%;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 18px;
  width: min(620px, 48vw);
  z-index: 1;
  animation: stageFloat 8s ease-in-out infinite;
}

.floating-sun {
  background: repeating-conic-gradient(from 0deg, var(--yellow) 0 12deg, var(--orange) 12deg 24deg);
  border: 10px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  filter: drop-shadow(0 16px 25px rgba(255, 143, 61, 0.22));
  height: 150px;
  position: absolute;
  right: 5%;
  top: 2%;
  width: 150px;
  animation: slowSpin 22s linear infinite;
}

.mock-board {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 213, 31, 0.36), transparent 30%),
    linear-gradient(180deg, rgba(255, 250, 240, 0.72), rgba(255, 250, 240, 0.34)),
    #fff4dc;
  border: 10px solid #fff;
  border-radius: 28px;
  box-shadow: var(--shadow);
  height: 78%;
  padding: 28px;
  position: absolute;
  right: 0;
  top: 12%;
  transform: rotate(2deg);
  width: 68%;
}

.mock-board::before {
  background: linear-gradient(90deg, var(--turquoise), var(--yellow), var(--pink), var(--green), var(--red));
  border-radius: 999px;
  content: "";
  height: 12px;
  left: 34px;
  position: absolute;
  right: 34px;
  top: 18px;
}

.mock-board-title {
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: clamp(1.3rem, 2vw, 2.2rem);
  font-weight: 950;
  margin: 24px 0 18px;
  text-align: center;
}

.mock-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, 1fr);
}

.mock-cell {
  align-items: end;
  aspect-ratio: 2.5 / 3.5;
  background:
    radial-gradient(circle at 28% 25%, rgba(255,255,255,0.55), transparent 22%),
    linear-gradient(135deg, rgba(232, 46, 138, 0.94), rgba(0, 168, 184, 0.9));
  border: 2px solid rgba(29, 15, 10, 0.72);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  padding: 6px;
}

.mock-cell span {
  background: rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  color: var(--ink);
  display: block;
  font-size: 0.55rem;
  font-weight: 950;
  max-width: 100%;
  overflow: hidden;
  padding: 4px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-card-stack {
  height: 300px;
  left: 0;
  position: absolute;
  top: 19%;
  width: 230px;
  z-index: 2;
}

.mock-card {
  background: #fff;
  border: 8px solid #fff;
  border-radius: 18px;
  box-shadow: var(--small-shadow);
  height: 245px;
  padding: 10px;
  position: absolute;
  transform-origin: bottom center;
  width: 175px;
}

.mock-card-1 {
  left: 16px;
  top: 28px;
  animation: floatCard 5.8s ease-in-out infinite;
  transform: rotate(-10deg);
}

.mock-card-2 {
  left: 62px;
  top: 0;
  animation: floatCard 6.4s ease-in-out infinite 0.4s;
  transform: rotate(8deg);
}

.mock-card-3 {
  left: 112px;
  top: 54px;
  animation: floatCard 7s ease-in-out infinite 0.8s;
  transform: rotate(18deg);
}

@keyframes floatCard {
  0%,
  100% {
    margin-top: 0;
  }
  50% {
    margin-top: -10px;
  }
}

.mock-photo {
  align-items: flex-start;
  background:
    radial-gradient(circle at 24% 24%, rgba(255,255,255,0.55), transparent 18%),
    linear-gradient(135deg, var(--orange), var(--pink), var(--turquoise));
  border: 2px solid rgba(29, 15, 10, 0.74);
  border-radius: 12px;
  display: flex;
  height: 172px;
  padding: 10px;
}

.mock-photo span {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 950;
  padding: 6px 8px;
}

.mock-card strong {
  display: block;
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: 1rem;
  margin-top: 10px;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes stageFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes slowSpin {
  to {
    transform: rotate(1turn);
  }
}

.loteria-marquee {
  background: var(--yellow);
  border-bottom: 3px solid var(--ink);
  border-top: 3px solid var(--ink);
  box-shadow: 0 14px 34px rgba(103, 31, 13, 0.14);
  margin: 16px 0 34px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.loteria-marquee div {
  animation: marqueeSlide 28s linear infinite;
  display: flex;
  gap: 34px;
  min-width: max-content;
  padding: 16px 0;
}

.loteria-marquee span {
  color: var(--ink);
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 2rem);
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.loteria-marquee span::after {
  color: var(--red);
  content: " *";
  margin-left: 34px;
}

.manifesto-section {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 213, 31, 0.26), transparent 24rem),
    radial-gradient(circle at 86% 74%, rgba(0, 168, 184, 0.22), transparent 22rem),
    var(--red);
  border: 3px solid rgba(29, 15, 10, 0.16);
  border-radius: 46px;
  box-shadow: var(--shadow);
  color: #fffaf0;
  margin: 0 auto 34px;
  max-width: 1220px;
  min-height: 520px;
  overflow: hidden;
  padding: clamp(38px, 7vw, 86px) 24px;
  position: relative;
  text-align: center;
  z-index: 2;
}

.manifesto-section::before,
.manifesto-section::after {
  background:
    linear-gradient(135deg, var(--turquoise) 0 18%, transparent 18% 30%, var(--yellow) 30% 50%, transparent 50% 62%, var(--pink) 62% 82%, var(--green) 82%),
    radial-gradient(circle at 50% 45%, rgba(255,255,255,0.8) 0 5px, transparent 6px);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 88% 100%, 76% 70%, 64% 100%, 52% 70%, 40% 100%, 28% 70%, 16% 100%, 4% 70%, 0 100%);
  content: "";
  height: 72px;
  left: 0;
  position: absolute;
  right: 0;
}

.manifesto-section::before {
  top: 0;
}

.manifesto-section::after {
  bottom: 0;
  transform: rotate(180deg);
}

.manifesto-section .eyebrow {
  color: var(--yellow);
  margin-top: 56px;
}

.manifesto-section h2 {
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: clamp(2.6rem, 7vw, 7.6rem);
  letter-spacing: 0;
  line-height: 0.9;
  margin: 0 auto;
  max-width: 980px;
  text-wrap: balance;
}

.scroll-reveal-text {
  display: inline;
}

.scroll-word {
  display: inline-block;
  margin-right: 0.18em;
  transform: translateY(0);
  transition: opacity 120ms linear, transform 120ms linear, filter 120ms linear;
  will-change: opacity, transform, filter;
}

.statement-section {
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 1220px;
  padding: 30px 24px 70px;
  position: relative;
  z-index: 2;
}

.statement-line {
  align-items: end;
  background: rgba(255, 250, 240, 0.86);
  border: 1px solid rgba(29, 15, 10, 0.09);
  border-radius: 30px;
  box-shadow: var(--small-shadow);
  display: grid;
  gap: 24px;
  grid-template-areas:
    "title media"
    "copy media";
  grid-template-columns: minmax(0, 1.14fr) minmax(240px, 0.66fr);
  min-height: 250px;
  overflow: hidden;
  padding: clamp(26px, 5vw, 58px);
  position: relative;
}

.statement-media {
  align-self: stretch;
  background:
    linear-gradient(135deg, rgba(255, 213, 31, 0.46), rgba(232, 46, 138, 0.26)),
    #fff4dc;
  background-position: center;
  background-size: cover;
  border: 3px solid rgba(29, 15, 10, 0.78);
  border-radius: 24px;
  grid-area: media;
  min-height: 190px;
  overflow: hidden;
}

.statement-line::after {
  display: none;
}

.statement-line:nth-child(2) {
  background: linear-gradient(135deg, var(--red), #8f1f17);
  color: #fffaf0;
}

.statement-line:nth-child(2) p {
  color: rgba(255, 250, 240, 0.9);
}

.statement-line:nth-child(3) {
  background: linear-gradient(135deg, var(--green), var(--turquoise));
  color: #fffaf0;
}

.statement-line:nth-child(3) p {
  color: rgba(255, 250, 240, 0.92);
}

.statement-line h2 {
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: clamp(3rem, 7vw, 7.4rem);
  grid-area: title;
  letter-spacing: 0;
  line-height: 0.86;
  margin: 0;
  max-width: 840px;
  text-wrap: balance;
}

.statement-line p {
  color: #5b3526;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  font-weight: 850;
  grid-area: copy;
  line-height: 1.35;
  margin: 0;
}

.manifesto-art span {
  align-items: center;
  background: #fffaf0;
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(29, 15, 10, 0.18);
  color: var(--ink);
  display: inline-flex;
  font-weight: 950;
  height: 58px;
  justify-content: center;
  position: absolute;
  width: 44px;
}

.manifesto-art span:nth-child(1) {
  left: 7%;
  top: 24%;
  transform: rotate(-12deg);
}

.manifesto-art span:nth-child(2) {
  right: 8%;
  top: 22%;
  transform: rotate(10deg);
}

.manifesto-art span:nth-child(3) {
  bottom: 20%;
  left: 13%;
  transform: rotate(7deg);
}

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

.section-heading {
  margin: 0 auto 32px;
  max-width: 760px;
  text-align: center;
}

.section-heading h2,
.final-cta h2,
.builder-panel h2 {
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: clamp(2.1rem, 4vw, 4.1rem);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 14px;
}

.section-heading p {
  color: #5b3526;
  font-size: 1.08rem;
  line-height: 1.6;
}

.feature-grid,
.flow-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.flow-step,
.download-card,
.generator-card {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.94), rgba(255, 246, 225, 0.72)),
    rgba(255, 250, 240, 0.78);
  border: 2px solid rgba(29, 15, 10, 0.1);
  border-radius: 24px;
  box-shadow: var(--small-shadow);
  padding: 26px;
}

.feature-card {
  min-height: 230px;
  overflow: hidden;
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card::after {
  background: linear-gradient(90deg, var(--red), var(--green), var(--turquoise));
  bottom: 0;
  content: "";
  height: 7px;
  left: 0;
  position: absolute;
  right: 0;
}

.feature-card:hover,
.flow-step:hover {
  box-shadow: 0 20px 48px rgba(89, 37, 21, 0.16);
  transform: translateY(-3px);
}

.feature-card h3,
.flow-step h3,
.download-card h3,
.generator-card h3 {
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: 1.35rem;
  line-height: 1.05;
  margin-bottom: 12px;
}

.feature-card p,
.flow-step p,
.download-card p,
.soft-copy {
  color: #5b3526;
  line-height: 1.55;
}

.feature-icon,
.marketing-icon {
  border: 5px solid #fff;
  border-radius: 16px;
  height: 66px;
  margin-bottom: 20px;
  position: relative;
  width: 66px;
}

.feature-icon::after {
  background: rgba(255,255,255,0.75);
  border-radius: 999px;
  content: "";
  height: 16px;
  left: 15px;
  position: absolute;
  top: 15px;
  width: 16px;
}

.marketing-icon {
  align-items: center;
  color: #fffaf0;
  display: inline-flex;
  justify-content: center;
}

.marketing-icon svg {
  height: 38px;
  width: 38px;
}

.marketing-icon.photos {
  background: linear-gradient(135deg, var(--red), var(--orange));
}

.marketing-icon.labels {
  background: linear-gradient(135deg, var(--pink), var(--purple));
}

.marketing-icon.boards {
  background: linear-gradient(135deg, var(--turquoise), var(--green));
}

.marketing-icon.print {
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: var(--ink);
}

.marketing-icon.ship {
  background: linear-gradient(135deg, var(--blue), var(--turquoise));
}

.marketing-icon.party {
  background: linear-gradient(135deg, var(--green), var(--yellow));
  color: var(--ink);
}

.icon-1 {
  background: linear-gradient(135deg, var(--red), var(--orange));
}
.icon-2 {
  background: linear-gradient(135deg, var(--turquoise), var(--green));
}
.icon-3 {
  background: linear-gradient(135deg, var(--yellow), var(--pink));
}
.icon-4 {
  background: linear-gradient(135deg, var(--purple), var(--pink));
}
.icon-5 {
  background: linear-gradient(135deg, var(--green), var(--yellow));
}
.icon-6 {
  background: linear-gradient(135deg, var(--orange), var(--turquoise));
}

.how-section {
  background:
    linear-gradient(135deg, rgba(0, 168, 184, 0.12), rgba(232, 46, 138, 0.1)),
    rgba(255, 250, 240, 0.5);
  border-radius: 42px;
}

.flow-step {
  position: relative;
  padding-top: 44px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.flow-step::before {
  background:
    linear-gradient(135deg, var(--turquoise) 0 18%, transparent 18% 32%, var(--yellow) 32% 52%, transparent 52% 66%, var(--pink) 66%),
    rgba(255,255,255,0.3);
  clip-path: polygon(0 0, 100% 0, 100% 62%, 86% 100%, 72% 62%, 58% 100%, 44% 62%, 30% 100%, 16% 62%, 0 100%);
  content: "";
  height: 30px;
  left: 18px;
  position: absolute;
  right: 18px;
  top: 0;
}

.flow-step span {
  align-items: center;
  background: linear-gradient(135deg, var(--ink), #66321f);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-weight: 950;
  height: 42px;
  justify-content: center;
  margin-bottom: 22px;
  width: 42px;
}

.final-cta {
  align-items: center;
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 213, 31, 0.45), transparent 18rem),
    linear-gradient(135deg, rgba(0, 168, 184, 0.96), rgba(17, 136, 77, 0.88)),
    var(--turquoise);
  border: 3px solid rgba(29, 15, 10, 0.14);
  border-radius: 38px;
  box-shadow: var(--shadow);
  color: #fffaf0;
  display: flex;
  justify-content: space-between;
  margin-bottom: 70px;
  overflow: hidden;
  position: relative;
}

.final-cta::before {
  background:
    linear-gradient(135deg, var(--red) 0 18%, transparent 18% 32%, var(--yellow) 32% 52%, transparent 52% 66%, var(--pink) 66%),
    rgba(255,255,255,0.2);
  clip-path: polygon(0 0, 100% 0, 100% 66%, 88% 100%, 76% 66%, 64% 100%, 52% 66%, 40% 100%, 28% 66%, 16% 100%, 4% 66%, 0 100%);
  content: "";
  height: 42px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.final-cta h2 {
  margin: 0;
}

.sample-section,
.physical-shop-section,
.review-section {
  padding-top: 50px;
}

.sample-section {
  background: rgba(255, 250, 240, 0.62);
  border-radius: 30px;
}

.sample-grid,
.review-grid,
.project-action-grid,
.project-card-grid {
  display: grid;
  gap: 18px;
}

.sample-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sample-card,
.review-card,
.project-action-card,
.saved-project-card,
.signin-project-callout,
.account-routing-card,
.admin-detail-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.64)),
    rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 28px;
  box-shadow: var(--small-shadow);
}

.sample-card {
  display: grid;
  gap: 16px;
  min-height: 360px;
  padding: 18px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.sample-card:hover,
.project-action-card:hover,
.saved-project-card:hover {
  box-shadow: 0 18px 46px rgba(93, 48, 28, 0.16);
  transform: translateY(-4px);
}

.sample-board-mini {
  aspect-ratio: 5 / 7;
  background-position: center;
  background-size: cover;
  border: 3px solid rgba(29, 15, 10, 0.72);
  border-radius: 18px;
  display: grid;
  gap: 10px;
  overflow: hidden;
  padding: 18px;
  position: relative;
}

.sample-board-mini.has-custom-image {
  align-content: end;
  border-color: rgba(29, 15, 10, 0.2);
  box-shadow: inset 0 -90px 70px rgba(29, 15, 10, 0.5);
  min-height: 0;
}

.sample-board-mini.has-custom-image strong {
  background: rgba(255, 250, 240, 0.9);
  border: 1px solid rgba(29, 15, 10, 0.12);
  border-radius: 999px;
  color: var(--ink);
  justify-self: center;
  padding: 10px 14px;
}

.sample-board-mini::before {
  display: none;
}

.sample-1 .sample-board-mini {
  background: linear-gradient(135deg, #fff0f8, #dff4ff);
}

.sample-2 .sample-board-mini {
  background: linear-gradient(135deg, #fff7ea, #f0d8c0);
}

.sample-3 .sample-board-mini {
  background: linear-gradient(135deg, #fffbd7, #d8fff1);
}

.sample-4 .sample-board-mini {
  background: linear-gradient(135deg, #ffe5cf, #e7dcff);
}

.sample-board-mini strong {
  align-self: end;
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: 1.15rem;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  z-index: 1;
}

.sample-board-mini div {
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(4, 1fr);
  z-index: 1;
}

.sample-board-mini span {
  align-items: end;
  aspect-ratio: 2.5 / 3.5;
  background-color: #fff4dc;
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(29, 15, 10, 0.78);
  border-radius: 5px;
  color: #fff;
  display: flex;
  font-size: 0.62rem;
  font-weight: 950;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.sample-board-mini span i {
  background: rgba(29, 15, 10, 0.78);
  display: block;
  font-style: normal;
  line-height: 1;
  padding: 4px 3px;
  text-align: center;
  width: 100%;
}

.sample-card h3,
.review-card strong,
.project-action-card h2,
.saved-project-card h3,
.signin-project-callout h3,
.empty-projects h3,
.admin-detail-card h3 {
  font-family: "Trebuchet MS", Inter, sans-serif;
  line-height: 1;
  margin: 0;
}

.sample-card p,
.review-card p,
.project-action-card p,
.signin-project-callout p,
.empty-projects p,
.account-routing-card p,
.admin-detail-card p {
  color: #654d3f;
  line-height: 1.5;
  margin: 0;
}

.physical-shop-section {
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 216, 79, 0.28), transparent 24%),
    linear-gradient(135deg, rgba(255, 250, 240, 0.82), rgba(255, 255, 255, 0.58)),
    rgba(255, 250, 240, 0.62);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 34px;
  box-shadow: var(--small-shadow);
  scroll-margin-top: 130px;
}

.physical-product-showcase {
  overflow: hidden;
}

.product-carousel-track {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compact-carousel .product-carousel-track {
  animation: productCarousel 24s linear infinite;
  display: flex;
  width: max-content;
}

.compact-carousel:hover .product-carousel-track {
  animation-play-state: paused;
}

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

.physical-product-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 246, 225, 0.72)),
    rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 26px;
  box-shadow: var(--small-shadow);
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 16px;
}

.compact-carousel .physical-product-card {
  width: min(310px, 74vw);
}

.physical-product-photo {
  align-items: end;
  aspect-ratio: 1;
  background:
    linear-gradient(135deg, rgba(255, 213, 31, 0.32), rgba(232, 46, 138, 0.2)),
    #fff4dc;
  background-position: center;
  background-size: cover;
  border: 8px solid #fff;
  border-radius: 22px;
  box-shadow: 0 16px 30px rgba(89, 37, 21, 0.14);
  display: flex;
  overflow: hidden;
  padding: 10px;
}

.physical-product-photo span {
  background: rgba(255, 250, 240, 0.9);
  border: 1px solid rgba(37, 23, 17, 0.1);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 950;
  padding: 7px 10px;
}

.physical-product-card strong {
  display: block;
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: 1.22rem;
  line-height: 1.05;
}

.physical-product-card p {
  color: #60483a;
  font-size: 0.94rem;
  font-weight: 820;
  line-height: 1.45;
  margin: 7px 0;
}

.physical-product-card small {
  color: var(--green);
  display: block;
  font-weight: 950;
}

.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-card {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.review-photo {
  aspect-ratio: 1 / 1;
  background-color: #fff4dc;
  background-position: center;
  background-size: cover;
  border: 3px solid #fff;
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(75, 33, 18, 0.14);
  min-height: 0;
  margin-bottom: 4px;
}

.review-card strong {
  font-size: 1.28rem;
}

.site-footer {
  align-items: center;
  border-top: 1px solid rgba(37, 23, 17, 0.1);
  display: flex;
  justify-content: space-between;
  padding-bottom: 46px;
  padding-top: 32px;
}

.site-footer p {
  color: #6b5345;
  margin: 12px 0 0 60px;
}

.site-footer .brand-mark {
  align-items: center;
}

.site-footer .logo-mark {
  height: 56px;
  width: 56px;
}

.site-footer .brand-label {
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: 1.2rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.site-footer a,
.site-footer button {
  background: none;
  border: 0;
  color: #5e4638;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0;
}

.seo-page {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.seo-page::before {
  background-image:
    linear-gradient(45deg, rgba(201, 42, 28, 0.045) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(8, 127, 140, 0.045) 25%, transparent 25%);
  background-size: 30px 30px;
  content: "";
  inset: 0;
  opacity: 0.34;
  pointer-events: none;
  position: fixed;
}

.seo-topic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 18px auto 0;
  max-width: 1180px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.seo-topic-links a {
  background: rgba(255, 250, 240, 0.84);
  border: 1px solid rgba(29, 15, 10, 0.1);
  border-radius: 999px;
  color: #4f281c;
  font-size: 0.9rem;
  font-weight: 900;
  padding: 9px 13px;
}

.seo-topic-links a:hover {
  background: var(--red);
  color: #fffaf0;
}

.seo-landing-hero {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  margin-top: 22px;
  min-height: 520px;
}

.seo-landing-hero h1 {
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: clamp(2.55rem, 5.8vw, 6.8rem);
  line-height: 0.92;
  margin-bottom: 18px;
  max-width: 820px;
  text-wrap: balance;
}

.seo-landing-hero p {
  color: #4f281c;
  font-size: 1.1rem;
  font-weight: 720;
  line-height: 1.56;
  max-width: 710px;
}

.seo-landing-hero .seo-price-note,
.static-seo-page .seo-price-note {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 15, 10, 0.1);
  border-radius: 999px;
  color: var(--red);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 950;
  margin: 0 0 20px;
  padding: 9px 14px;
}

.seo-hero-image {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 213, 31, 0.3), transparent 28%),
    rgba(255, 250, 240, 0.76);
  border: 1px solid rgba(29, 15, 10, 0.12);
  border-radius: 30px;
  box-shadow: var(--small-shadow);
  margin: 0;
  overflow: hidden;
  padding: 16px;
}

.seo-hero-image img {
  aspect-ratio: 1 / 1;
  border: 2px solid rgba(29, 15, 10, 0.16);
  border-radius: 22px;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.seo-hero-image figcaption {
  color: #60483a;
  font-size: 0.9rem;
  font-weight: 850;
  margin-top: 12px;
  text-align: center;
}

.seo-content-grid,
.seo-related-grid,
.seo-faq-grid {
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.seo-content-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.seo-content-grid article,
.seo-faq-grid details,
.seo-related-grid a {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 244, 220, 0.64)),
    rgba(255, 250, 240, 0.78);
  border: 1px solid rgba(29, 15, 10, 0.1);
  border-radius: 24px;
  box-shadow: var(--small-shadow);
  padding: 22px;
}

.seo-content-grid h2,
.seo-faq-section h2,
.seo-steps-section h2,
.seo-related-section h2 {
  font-family: "Trebuchet MS", Inter, sans-serif;
  line-height: 1;
  margin-bottom: 12px;
}

.seo-content-grid ul,
.static-seo-page ul {
  color: #60483a;
  display: grid;
  font-weight: 820;
  gap: 10px;
  line-height: 1.42;
  margin: 0;
  padding-left: 20px;
}

.seo-steps-section,
.seo-faq-section,
.seo-related-section {
  margin: 58px auto 0;
  max-width: 1220px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.seo-faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
}

.seo-faq-grid summary {
  cursor: pointer;
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-weight: 950;
}

.seo-faq-grid p {
  color: #60483a;
  font-weight: 820;
  line-height: 1.5;
  margin: 10px 0 0;
}

.seo-related-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
}

.seo-related-grid a {
  display: grid;
  gap: 8px;
}

.seo-related-grid strong {
  color: var(--red);
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: 1.05rem;
}

.seo-related-grid span {
  color: #60483a;
  font-size: 0.9rem;
  font-weight: 780;
  line-height: 1.42;
}

.seo-footer {
  margin-bottom: 34px;
}

.static-seo-page {
  padding: 28px;
}

.static-seo-page section,
.seo-static-nav {
  margin: 0 auto 24px;
  max-width: 980px;
}

.seo-static-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.reveal-pending {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 720ms ease var(--reveal-delay, 0ms),
    transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--reveal-delay, 0ms);
}

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

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

.builder-status-strip {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-bottom: 18px;
}

.builder-status-strip span {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 999px;
  color: #594337;
  font-size: 0.9rem;
  font-weight: 850;
  padding: 10px 14px;
}

.project-hub-hero {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  margin-bottom: 22px;
}

.project-hub-hero h1 {
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: clamp(2.6rem, 5.4vw, 5.8rem);
  line-height: 0.93;
  margin-bottom: 16px;
}

.project-hub-hero p {
  color: #60483a;
  font-size: 1.08rem;
  line-height: 1.6;
  margin: 0;
  max-width: 720px;
}

.project-hub-stats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-hub-stats article {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 22px;
  box-shadow: var(--small-shadow);
  padding: 16px;
}

.project-hub-stats span,
.project-action-card span {
  color: #60483a;
  display: block;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-hub-stats strong {
  display: block;
  font-size: 1.35rem;
  margin-top: 6px;
}

.project-action-grid {
  grid-template-columns: minmax(0, 460px);
  margin-bottom: 22px;
}

.project-action-grid.single-action {
  justify-content: start;
}

.project-action-card {
  display: grid;
  gap: 12px;
  min-height: 0;
  padding: 20px;
}

.project-action-card h2 {
  font-size: 1.45rem;
}

.new-project-card {
  background:
    linear-gradient(135deg, rgba(232, 79, 61, 0.18), rgba(239, 93, 168, 0.14)),
    rgba(255, 255, 255, 0.78);
}

.project-library-panel {
  display: grid;
  gap: 20px;
}

.project-card-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.saved-project-card {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.project-card-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.danger-button {
  align-items: center;
  background: rgba(180, 35, 24, 0.08);
  border: 1px solid rgba(180, 35, 24, 0.22);
  border-radius: 999px;
  color: #9c241b;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 950;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
}

.danger-button:hover {
  background: rgba(180, 35, 24, 0.14);
}

.danger-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.saved-project-art {
  background: linear-gradient(135deg, #fff1cf, #ffe3f1);
  border-radius: 22px;
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(4, 1fr);
  padding: 12px;
}

.saved-project-art span {
  aspect-ratio: 2.5 / 3.5;
  background: linear-gradient(135deg, var(--orange), var(--pink), var(--turquoise));
  border: 1px solid rgba(0, 0, 0, 0.24);
  border-radius: 8px;
}

.saved-project-board-preview {
  background: #fff1cf;
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 22px;
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(4, 1fr);
  padding: 12px;
}

.saved-project-board-preview span {
  aspect-ratio: 2.5 / 3.5;
  background:
    linear-gradient(135deg, rgba(255, 213, 31, 0.56), rgba(232, 46, 138, 0.4)),
    #fff;
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(0, 0, 0, 0.78);
  border-radius: 7px;
  display: flex;
  overflow: hidden;
  position: relative;
}

.saved-project-board-preview b {
  align-self: end;
  background: rgba(255, 244, 220, 0.92);
  border-top: 1px solid rgba(0, 0, 0, 0.8);
  display: block;
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: clamp(0.34rem, 1.45vw, 0.5rem);
  font-weight: 1000;
  line-height: 0.95;
  overflow: hidden;
  padding: 3px 2px;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  width: 100%;
}

.saved-project-card p {
  color: #60483a;
  margin-bottom: 4px;
}

.saved-project-card small {
  color: #806758;
  font-weight: 850;
}

.signin-project-callout,
.account-routing-card {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 20px;
}

.signin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.empty-projects {
  background: rgba(255, 255, 255, 0.58);
  border: 1px dashed rgba(37, 23, 17, 0.16);
  border-radius: 24px;
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: 24px;
}

.account-routing-card strong {
  display: block;
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.admin-workspace {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(260px, 0.7fr) minmax(280px, 0.78fr) minmax(380px, 1.18fr);
}

.admin-list-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62)),
    rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 28px;
  box-shadow: var(--small-shadow);
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 16px;
}

.admin-nested-list {
  display: grid;
  gap: 10px;
  max-height: 660px;
  overflow: auto;
  padding-right: 3px;
}

.admin-user-card,
.admin-deck-card {
  background: rgba(255, 250, 242, 0.8);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 20px;
  color: var(--ink);
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  text-align: left;
  transition: transform 160ms ease, box-shadow 160ms ease, border 160ms ease, background 160ms ease;
}

.admin-user-card {
  align-items: center;
  grid-template-columns: 44px minmax(0, 1fr) auto;
}

.admin-user-card b,
.admin-deck-card b {
  color: #715648;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.admin-user-card b {
  grid-column: 2 / -1;
}

.admin-user-card em {
  background: rgba(7, 174, 182, 0.12);
  border-radius: 999px;
  color: #075e64;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 950;
  padding: 6px 8px;
  text-transform: uppercase;
}

.admin-user-card strong,
.admin-deck-card strong {
  display: block;
  font-size: 0.96rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saved-project-cover-preview {
  background:
    linear-gradient(135deg, rgba(255, 213, 31, 0.3), rgba(15, 163, 168, 0.16)),
    #fff1cf;
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 22px;
  min-height: 190px;
  overflow: hidden;
  padding: 12px;
}

.saved-project-cover-preview span {
  align-items: end;
  background:
    linear-gradient(135deg, rgba(255, 213, 31, 0.38), rgba(232, 46, 138, 0.24)),
    #fff4dc;
  background-position: center;
  background-size: cover;
  border: 2px solid rgba(29, 15, 10, 0.78);
  border-radius: 14px;
  display: flex;
  height: 100%;
  min-height: 166px;
  overflow: hidden;
}

.saved-project-cover-preview.empty-cover span {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 244, 220, 0.95), rgba(255, 241, 199, 0.72)),
    #fff4dc;
  justify-content: center;
  padding: 18px;
  text-align: center;
}

.saved-project-cover-preview b {
  background: rgba(255, 244, 220, 0.92);
  border-top: 1px solid rgba(0, 0, 0, 0.7);
  display: block;
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: 0.82rem;
  font-weight: 1000;
  line-height: 1;
  overflow: hidden;
  padding: 8px 7px;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  width: 100%;
}

.admin-user-card small,
.admin-deck-card small,
.admin-list-panel .section-minihead small {
  color: #7c6456;
  font-size: 0.78rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.admin-avatar {
  align-items: center;
  background: conic-gradient(from 210deg, var(--pink), var(--orange), var(--yellow), var(--turquoise), var(--pink));
  border: 3px solid #fff;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(89, 37, 21, 0.12);
  color: #fff;
  display: inline-flex;
  font-weight: 950;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.admin-deck-card {
  grid-template-columns: 74px minmax(0, 1fr);
}

.admin-deck-mini {
  background: linear-gradient(135deg, #fff0cf, #ffe1ef);
  border: 1px solid rgba(37, 23, 17, 0.1);
  border-radius: 16px;
  display: grid;
  gap: 4px;
  grid-row: span 3;
  grid-template-columns: repeat(2, 1fr);
  padding: 8px;
}

.admin-deck-mini i {
  aspect-ratio: 2.5 / 3.5;
  background: linear-gradient(135deg, var(--orange), var(--pink), var(--turquoise));
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 5px;
  display: block;
}

.admin-user-card:hover,
.admin-deck-card:hover {
  box-shadow: 0 16px 36px rgba(89, 37, 21, 0.15);
  transform: translateY(-2px);
}

.admin-user-card.selected,
.admin-deck-card.selected,
.admin-row.selected {
  background: linear-gradient(135deg, rgba(255, 216, 79, 0.26), rgba(242, 79, 155, 0.16)), #fff;
  border-color: rgba(242, 79, 155, 0.34);
  outline: 3px solid rgba(242, 79, 155, 0.18);
}

.admin-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-detail-card {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 20px;
}

.admin-detail-head {
  align-items: start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.admin-detail-head span {
  color: #60483a;
  font-size: 0.82rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.admin-detail-head h3 {
  font-size: 1.55rem;
  margin-top: 5px;
}

.admin-detail-head > strong {
  background: linear-gradient(135deg, var(--ink), #69321e);
  border-radius: 999px;
  color: #fff;
  flex: 0 0 auto;
  padding: 9px 12px;
}

.admin-detail-metrics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-detail-metrics article {
  background: linear-gradient(135deg, rgba(7, 174, 182, 0.09), rgba(255, 216, 79, 0.12));
  border-radius: 16px;
  padding: 12px;
}

.admin-detail-metrics span {
  color: #60483a;
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
}

.admin-detail-metrics strong {
  display: block;
  margin-top: 4px;
}

.admin-image-status {
  background: rgba(7, 174, 182, 0.1);
  border: 1px solid rgba(7, 174, 182, 0.18);
  border-radius: 999px;
  color: #075e64 !important;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 900;
  justify-self: start;
  padding: 9px 12px;
}

.admin-card-preview-grid {
  display: grid;
  gap: 12px;
  margin-top: 10px;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  max-height: 520px;
  overflow: auto;
  padding-right: 4px;
}

.admin-card-thumb {
  background: rgba(255, 250, 242, 0.78);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 18px;
  display: grid;
  gap: 8px;
  padding: 10px;
  min-width: 0;
}

.admin-card-thumb .card-preview-canvas.compact {
  border-radius: 14px;
  border-width: 6px;
  min-width: 0;
  width: 100%;
}

.admin-card-thumb strong {
  font-size: 0.85rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-card-thumb small {
  color: #755b4e;
  font-weight: 900;
}

.admin-board-inspector {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.admin-board-inspector .board-preview {
  box-shadow: 0 18px 44px rgba(89, 37, 21, 0.16);
  max-height: 700px;
}

.admin-board-picker,
.admin-board-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-board-list {
  margin-top: 12px;
  max-height: 180px;
  overflow: auto;
  padding-right: 4px;
}

.admin-board-picker button,
.admin-board-list button {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(37, 23, 17, 0.12);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 950;
  min-height: 38px;
  padding: 0 12px;
}

.admin-board-list button {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.admin-board-list span {
  color: #6e5548;
  font-size: 0.78rem;
  font-weight: 850;
}

.admin-board-picker button.selected,
.admin-board-list button.selected {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.admin-board-list button.selected span {
  color: rgba(255, 255, 255, 0.76);
}

.builder-header {
  padding-bottom: 8px;
}

.save-status,
.success-badge,
.warning-badge,
.upload-count,
.busy-banner {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 999px;
  color: #594337;
  font-size: 0.9rem;
  font-weight: 850;
  padding: 10px 14px;
}

.builder-shell {
  padding-left: 24px;
  padding-right: 24px;
  padding-top: 10px;
  max-width: 1600px;
}

.builder-intro {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
  margin-bottom: 12px;
}

.builder-intro h1 {
  font-size: clamp(2.1rem, 3.35vw, 3.9rem);
  margin-bottom: 0;
}

.builder-intro p:last-child {
  color: #654d3f;
  font-size: 1rem;
  line-height: 1.5;
}

.stepper {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 28px;
  box-shadow: var(--small-shadow);
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 14px;
  padding: 7px;
}

.step-pill {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 20px;
  color: #665045;
  display: flex;
  gap: 10px;
  justify-content: center;
  min-height: 44px;
  padding: 6px;
}

.step-pill span {
  align-items: center;
  background: rgba(37, 23, 17, 0.08);
  border-radius: 999px;
  display: inline-flex;
  font-weight: 950;
  height: 27px;
  justify-content: center;
  width: 27px;
}

.step-pill small {
  font-weight: 900;
}

.step-pill.active {
  background: #fff;
  box-shadow: 0 10px 24px rgba(93, 48, 28, 0.1);
  color: var(--ink);
}

.step-pill.active span,
.step-pill.complete span {
  background: linear-gradient(135deg, var(--red), var(--pink));
  color: #fff;
}

.step-pill:disabled,
.step-pill.locked {
  cursor: not-allowed;
  opacity: 0.48;
}

.step-pill.locked span {
  background: rgba(37, 23, 17, 0.06);
  color: #8a7467;
}

.builder-panel {
  background: rgba(255, 250, 242, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 38px;
  box-shadow: var(--shadow);
  padding: 30px;
}

.studio-panel {
  padding: 0;
  overflow: hidden;
}

.studio-panel-header {
  align-items: end;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 214, 77, 0.28), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 244, 220, 0.58));
  border-bottom: 1px solid rgba(37, 23, 17, 0.08);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 20px 30px 18px;
}

.studio-panel-header h2 {
  font-size: clamp(1.65rem, 2.55vw, 2.65rem);
  margin-bottom: 6px;
}

.studio-panel-header .soft-copy {
  max-width: 720px;
}

.builder-studio-layout {
  align-items: start;
  display: grid;
  gap: 0;
  grid-template-columns: minmax(330px, 0.3fr) minmax(420px, 1fr) minmax(330px, 0.3fr);
  min-height: 650px;
}

.studio-sidebar {
  align-content: start;
  align-items: start;
  align-self: stretch;
  display: grid;
  gap: 12px;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 18px;
}

.studio-settings {
  align-content: start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 250, 242, 0.5)),
    rgba(255, 255, 255, 0.42);
  border-right: 1px solid rgba(37, 23, 17, 0.08);
}

.studio-settings > *,
.studio-control-stack,
.cards-sidebar,
.studio-settings .label-style-panel,
.studio-settings .board-style-controls,
.studio-settings .redesigned-controls {
  align-content: start;
  align-self: start;
  width: 100%;
}

.studio-control-stack > *,
.cards-sidebar > *,
.studio-settings .label-style-panel > *,
.studio-settings .board-style-controls > * {
  align-self: start;
  width: 100%;
}

.studio-guidance {
  background:
    radial-gradient(circle at 88% 10%, rgba(15, 163, 168, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 246, 231, 0.58));
  border-left: 1px solid rgba(37, 23, 17, 0.08);
  align-self: start;
  position: sticky;
  top: 104px;
}

.studio-main {
  display: grid;
  gap: 16px;
  min-width: 0;
  overflow: hidden;
  padding: 18px;
}

.studio-control-stack,
.download-settings-stack {
  align-content: start;
  display: grid;
  gap: 16px;
}

.studio-action-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 244, 220, 0.58)),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 22px;
  box-shadow: var(--small-shadow);
  display: grid;
  gap: 10px;
  padding: 16px;
}

.studio-action-card.success {
  background:
    linear-gradient(135deg, rgba(31, 122, 77, 0.12), rgba(255, 255, 255, 0.78)),
    rgba(255, 255, 255, 0.72);
}

.studio-action-card.warning {
  background:
    linear-gradient(135deg, rgba(180, 35, 24, 0.12), rgba(255, 214, 77, 0.13)),
    rgba(255, 255, 255, 0.72);
  border-color: rgba(180, 35, 24, 0.18);
}

.studio-action-card strong {
  color: var(--ink);
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: 1.05rem;
}

.studio-action-card p {
  color: #60483a;
  font-size: 0.92rem;
  font-weight: 820;
  line-height: 1.45;
  margin: 0;
}

.studio-action-row {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.studio-stat-grid {
  align-items: baseline;
  display: flex;
  gap: 8px;
}

.studio-stat-grid span {
  color: var(--red);
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: 2.2rem;
  font-weight: 1000;
  line-height: 1;
}

.studio-stat-grid small {
  color: #60483a;
  font-weight: 900;
}

.project-start-card {
  align-content: center;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 214, 77, 0.34), transparent 28%),
    radial-gradient(circle at 88% 84%, rgba(15, 163, 168, 0.16), transparent 30%),
    rgba(255, 250, 242, 0.78);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 30px;
  display: grid;
  gap: 14px;
  min-height: 340px;
  padding: 26px;
}

.project-start-card .logo-mark {
  height: 48px;
  width: 48px;
}

.project-start-card h3 {
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: clamp(1.75rem, 3.2vw, 3.25rem);
  line-height: 1;
  margin: 0;
}

.project-start-card > p {
  color: #60483a;
  font-size: 1rem;
  font-weight: 820;
  line-height: 1.5;
  max-width: 620px;
}

.compact-lock {
  grid-column: auto;
}

.studio-download-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.studio-settings .drop-zone {
  min-height: 168px;
  padding: 14px;
}

.studio-settings .drop-zone h3 {
  font-size: 1rem;
  line-height: 1.15;
  margin: 0;
}

.studio-settings .drop-art {
  border-width: 5px;
  border-radius: 18px;
  height: 52px;
  margin-bottom: 10px;
  width: 76px;
}

.studio-settings .drop-zone p {
  font-size: 0.86rem;
  line-height: 1.28;
  margin: 6px 0 10px;
}

.studio-settings .drop-zone p,
.studio-settings .soft-copy,
.studio-guidance .soft-copy,
.studio-settings .warning-text,
.studio-settings .success-text {
  overflow-wrap: anywhere;
}

.studio-settings .label-style-panel,
.studio-settings .download-settings,
.studio-settings .text-style-grid,
.studio-settings .color-control-grid,
.studio-settings .border-control-grid {
  grid-template-columns: 1fr;
}

.studio-settings .access-code-panel,
.studio-settings .square-pass-panel,
.studio-guidance .access-code-panel,
.studio-guidance .square-pass-panel {
  grid-template-columns: 1fr;
}

.studio-settings .download-card,
.studio-guidance .download-card {
  min-width: 0;
}

.studio-settings .primary-button,
.studio-settings .secondary-button,
.studio-guidance .primary-button,
.studio-guidance .secondary-button {
  font-size: 0.9rem;
  min-height: 40px;
  padding: 8px 14px;
  white-space: normal;
}

.studio-sidebar .large {
  min-height: 48px;
  padding-left: 18px;
  padding-right: 18px;
}

.two-column {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
}

.form-grid,
.advanced-grid,
.control-pair,
.download-settings {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-title-grid {
  grid-template-columns: 1fr;
  margin-bottom: 22px;
}

.project-setup-panel {
  max-width: none;
}

.project-setup-panel .builder-studio-layout {
  min-height: 360px;
}

.studio-settings label {
  gap: 6px;
}

.studio-settings label span {
  font-size: 0.82rem;
}

.studio-settings input,
.studio-settings select,
.studio-settings textarea {
  border-radius: 14px;
  font-size: 0.93rem;
  min-height: 42px;
  padding: 0 12px;
}

.studio-settings input[type="color"] {
  min-height: 42px;
  padding: 6px;
}

.studio-settings input[type="range"] {
  min-height: 26px;
  padding: 0;
}

.project-setup-card {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: #594337;
  font-size: 0.9rem;
  font-weight: 900;
}

input,
select,
textarea {
  background: #fff;
  border: 2px solid rgba(37, 23, 17, 0.1);
  border-radius: 18px;
  color: var(--ink);
  min-height: 52px;
  outline: none;
  padding: 0 15px;
  transition: border 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

input[type="color"] {
  min-height: 58px;
  padding: 8px;
}

input[type="range"] {
  accent-color: var(--pink);
  padding: 0;
}

input:focus,
select:focus {
  border-color: rgba(239, 93, 168, 0.75);
  box-shadow: 0 0 0 4px rgba(239, 93, 168, 0.12);
}

.preset-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 20px 0;
}

.preset-grid button {
  align-items: center;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 18px;
  display: flex;
  font-weight: 900;
  gap: 10px;
  min-height: 56px;
  padding: 10px;
}

.preset-grid span {
  border-radius: 12px;
  display: inline-block;
  height: 30px;
  overflow: hidden;
  position: relative;
  width: 30px;
}

.preset-grid b {
  font-size: 0.9rem;
  line-height: 1.05;
  text-align: left;
}

.preset-swatch::before {
  background:
    linear-gradient(90deg, var(--board-ribbon), var(--yellow), var(--board-accent)),
    radial-gradient(circle at 30% 35%, rgba(255,255,255,0.8), transparent 18px);
  content: "";
  inset: 4px;
  position: absolute;
}

.preset-swatch.theme-classic::before,
.preset-swatch.theme-fiesta::before {
  background:
    linear-gradient(135deg, var(--board-ribbon) 0 18%, transparent 18% 28%, var(--board-accent) 28% 46%, transparent 46% 58%, var(--yellow) 58% 76%, var(--pink) 76%),
    radial-gradient(circle at 32% 34%, rgba(255,255,255,0.8) 0 5px, transparent 6px),
    radial-gradient(circle at 68% 62%, rgba(255,255,255,0.72) 0 5px, transparent 6px);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 84% 100%, 68% 72%, 52% 100%, 36% 72%, 20% 100%, 0 72%);
}

.preset-swatch.theme-miniCardBorder::before {
  background:
    linear-gradient(90deg, rgba(31, 122, 77, 0.78) 0 5%, transparent 5% 15%, rgba(231, 73, 50, 0.76) 15% 23%, transparent 23% 77%, rgba(15, 163, 168, 0.76) 77% 85%, transparent 85%),
    radial-gradient(circle at 18% 24%, var(--pink) 0 3px, transparent 4px),
    radial-gradient(circle at 82% 30%, var(--yellow) 0 3px, transparent 4px),
    radial-gradient(circle at 18% 70%, var(--board-ribbon) 0 3px, transparent 4px),
    radial-gradient(circle at 82% 76%, var(--board-accent) 0 3px, transparent 4px),
    linear-gradient(135deg, #fff4dc, #ffe9bc);
  border: 1px solid rgba(37, 23, 17, 0.16);
  border-radius: 8px;
}

.preset-swatch.theme-miniCardBorder::after {
  background:
    linear-gradient(#fffaf0, #fff0cf);
  border: 1px solid rgba(17, 17, 17, 0.72);
  border-radius: 3px;
  box-shadow:
    36px 2px 0 -1px #fffaf0,
    36px 2px 0 0 rgba(17, 17, 17, 0.72),
    2px 36px 0 -1px #fffaf0,
    2px 36px 0 0 rgba(17, 17, 17, 0.72),
    36px 38px 0 -1px #fffaf0,
    36px 38px 0 0 rgba(17, 17, 17, 0.72);
  content: "";
  height: 18px;
  left: 9px;
  position: absolute;
  top: 8px;
  transform: rotate(-10deg);
  width: 13px;
}

.preset-swatch.theme-birthday::before {
  background:
    radial-gradient(circle at 20% 36%, var(--board-accent) 0 13px, transparent 14px),
    radial-gradient(circle at 72% 32%, var(--board-ribbon) 0 12px, transparent 13px),
    radial-gradient(circle at 48% 72%, var(--pink) 0 7px, transparent 8px),
    repeating-linear-gradient(35deg, var(--yellow) 0 5px, transparent 5px 13px);
}

.preset-swatch.theme-wedding::before {
  background:
    radial-gradient(circle at 24% 28%, rgba(255,255,255,0.95) 0 8px, transparent 9px),
    radial-gradient(circle at 43% 43%, rgba(255,255,255,0.9) 0 7px, transparent 8px),
    radial-gradient(circle at 66% 62%, var(--board-accent) 0 4px, transparent 5px),
    linear-gradient(135deg, rgba(255,255,255,0.85), color-mix(in srgb, var(--board-ribbon) 28%, white));
}

.preset-swatch.theme-bold::before {
  background:
    repeating-linear-gradient(-35deg, var(--board-accent) 0 7px, transparent 7px 13px),
    var(--board-ribbon);
}

.preset-swatch.theme-baby::before,
.preset-swatch.theme-pastel::before {
  background:
    radial-gradient(circle at 24% 40%, rgba(255,255,255,0.95) 0 13px, transparent 14px),
    radial-gradient(circle at 44% 32%, rgba(255,255,255,0.88) 0 16px, transparent 17px),
    radial-gradient(circle at 70% 64%, var(--board-ribbon) 0 6px, transparent 7px),
    radial-gradient(circle at 34% 70%, var(--board-accent) 0 5px, transparent 6px),
    rgba(255,255,255,0.45);
}

.preset-swatch.theme-family::before {
  background:
    linear-gradient(135deg, transparent 0 18%, var(--board-accent) 18% 24%, transparent 24% 76%, var(--board-ribbon) 76% 82%, transparent 82%),
    radial-gradient(circle at 28% 36%, var(--pink) 0 7px, transparent 8px),
    radial-gradient(circle at 70% 66%, var(--yellow) 0 8px, transparent 9px);
}

.preset-swatch.theme-classroom::before {
  background:
    repeating-linear-gradient(0deg, rgba(47, 128, 237, 0.28) 0 2px, transparent 2px 12px),
    radial-gradient(circle at 26% 32%, var(--yellow) 0 7px, transparent 8px),
    radial-gradient(circle at 70% 66%, var(--board-accent) 0 6px, transparent 7px),
    white;
}

.preset-swatch.theme-holiday::before {
  background:
    radial-gradient(circle at 20% 25%, var(--board-accent) 0 6px, transparent 7px),
    radial-gradient(circle at 42% 36%, var(--yellow) 0 6px, transparent 7px),
    radial-gradient(circle at 64% 28%, var(--board-ribbon) 0 6px, transparent 7px),
    radial-gradient(circle at 82% 42%, var(--pink) 0 6px, transparent 7px),
    linear-gradient(135deg, rgba(255,255,255,0.55), rgba(67,182,111,0.16));
}

.preset-grid button.selected {
  border-color: var(--pink);
  box-shadow: 0 10px 24px rgba(239, 93, 168, 0.16);
}

.project-preview-card {
  aspect-ratio: 5 / 7;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.32)),
    #ffedc2;
  border: 9px solid #fff;
  border-radius: 34px;
  box-shadow: var(--small-shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.preview-title {
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 950;
  line-height: 0.95;
  text-align: center;
}

.preview-subtitle {
  color: #6a5345;
  font-weight: 800;
  margin: 10px auto 24px;
  text-align: center;
}

.preview-mini-grid,
.empty-board-grid {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(4, 1fr);
}

.preview-mini-grid div,
.empty-board-grid span {
  aspect-ratio: 2.5 / 3.5;
  background: linear-gradient(135deg, var(--pink), var(--turquoise));
  border: 3px solid #fff;
  border-radius: 10px;
}

.panel-header {
  align-items: start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.drop-zone {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.5)),
    repeating-linear-gradient(45deg, rgba(15, 163, 168, 0.08) 0 8px, transparent 8px 18px);
  border: 3px dashed rgba(239, 93, 168, 0.45);
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
  min-height: 280px;
  padding: 30px;
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease;
}

.drop-zone.dragging {
  border-color: var(--turquoise);
  transform: scale(1.01);
}

.upload-progress-card {
  background:
    linear-gradient(135deg, rgba(15, 163, 168, 0.14), rgba(239, 93, 168, 0.12)),
    rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 22px;
  box-shadow: var(--small-shadow);
  display: grid;
  gap: 12px;
  margin: -6px 0 24px;
  padding: 16px;
}

.upload-progress-card div:first-child {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.upload-progress-card strong {
  overflow-wrap: anywhere;
}

.upload-progress-card span {
  color: #60483a;
  font-size: 0.86rem;
  font-weight: 900;
  white-space: nowrap;
}

.upload-progress-track {
  background: rgba(37, 23, 17, 0.1);
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.upload-progress-track i {
  background: linear-gradient(90deg, var(--turquoise), var(--yellow), var(--pink));
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width 180ms ease;
}

.cards-workspace {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(280px, 0.35fr) minmax(0, 1fr);
}

.cards-sidebar {
  align-content: start;
  align-items: start;
  display: grid;
  gap: 16px;
  position: sticky;
  top: 112px;
}

.cards-sidebar .drop-zone {
  margin-bottom: 0;
  min-height: 210px;
  padding: 18px;
}

.studio-settings .cards-sidebar .drop-zone {
  min-height: 176px;
  padding: 14px;
}

.studio-settings .cards-sidebar .drop-art {
  height: 54px;
  margin-bottom: 10px;
  width: 78px;
}

.cards-sidebar .label-style-panel {
  grid-template-columns: 1fr;
  margin-bottom: 0;
}

.cards-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.cards-main-head {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 214, 77, 0.24), rgba(15, 163, 168, 0.12)),
    rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 22px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 16px;
}

.cards-main-head strong {
  display: block;
  font-size: 1.12rem;
}

.cards-main-head p {
  color: #60483a;
  font-weight: 820;
  margin: 4px 0 0;
}

.cards-main-head span {
  background: var(--ink);
  border-radius: 999px;
  color: #fff;
  font-weight: 950;
  padding: 8px 12px;
  white-space: nowrap;
}

.cards-empty-state {
  align-content: center;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 214, 77, 0.28), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 244, 220, 0.62));
  border: 1px dashed rgba(37, 23, 17, 0.18);
  border-radius: 28px;
  display: grid;
  gap: 22px;
  justify-items: center;
  min-height: 430px;
  padding: 34px;
  text-align: center;
}

.cards-empty-state .empty-board-grid {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(4, 1fr);
  max-width: 250px;
  width: min(62%, 250px);
}

.cards-empty-state .empty-board-grid span {
  aspect-ratio: 2.5 / 3.5;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 237, 201, 0.9)),
    var(--cream);
  border: 1px solid rgba(37, 23, 17, 0.12);
  border-radius: 8px;
  box-shadow: 0 10px 18px rgba(93, 48, 28, 0.08);
}

.cards-empty-state h3 {
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 0 0 8px;
}

.cards-empty-state p {
  color: #60483a;
  font-weight: 820;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 520px;
}

.drop-zone input,
.hidden-input {
  display: none;
}

.drop-art {
  background: linear-gradient(135deg, var(--yellow), var(--orange), var(--pink));
  border: 7px solid #fff;
  border-radius: 30px;
  box-shadow: var(--small-shadow);
  height: 92px;
  margin-bottom: 20px;
  position: relative;
  width: 120px;
}

.drop-art::before,
.drop-art::after {
  background: #fff;
  border-radius: 999px;
  content: "";
  height: 20px;
  position: absolute;
  width: 20px;
}

.drop-art::before {
  left: 22px;
  top: 22px;
}

.drop-art::after {
  bottom: 24px;
  right: 24px;
}

.card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
}

.card-editor {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 24px;
  box-shadow: var(--small-shadow);
  display: grid;
  gap: 10px;
  padding: 12px;
}

.card-preview,
.card-preview-canvas {
  aspect-ratio: 2.5 / 3.5;
  background: #fff;
  border: 12px solid #fff;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(42, 23, 16, 0.14);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.card-preview-canvas canvas {
  display: block;
  height: 100%;
  width: 100%;
}

.card-preview.compact,
.card-preview-canvas.compact {
  border-radius: 16px;
  border-width: 7px;
  min-width: 94px;
  width: 94px;
}

.card-preview.board-card,
.card-preview-canvas.board-card {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.72);
  box-shadow: none;
}

.card-preview.caption-band-card {
  background: #fff;
}

.card-image {
  background: linear-gradient(135deg, var(--orange), var(--pink), var(--turquoise));
  height: 100%;
  width: 100%;
}

.caption-band-card .card-image {
  height: 82%;
}

.caption-band-card .card-image,
.caption-band-card .card-image img {
  border-radius: 0;
}

.card-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease, object-position 180ms ease;
  width: 100%;
}

.mode-contain img {
  background: #fff8ec;
  object-fit: contain;
}

.card-number {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(37, 23, 17, 0.1);
  display: flex;
  font-size: 0.85rem;
  font-weight: 950;
  height: 34px;
  justify-content: center;
  left: 10px;
  min-width: 34px;
  padding: 0 10px;
  position: absolute;
  top: 10px;
  width: max-content;
  z-index: 2;
}

.caption-band-card .card-number {
  background: transparent !important;
  border: 0;
  box-shadow: none;
  color: #111 !important;
  display: block;
  font-family: Arial, sans-serif !important;
  font-size: 0.82rem;
  font-weight: 950;
  height: auto;
  left: 10px;
  min-width: 0;
  padding: 0;
  top: 9px;
}

.card-label {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(37, 23, 17, 0.12);
  bottom: 18px;
  color: #16100d;
  display: -webkit-box;
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-weight: 1000;
  left: 50%;
  line-height: 1;
  max-height: 54px;
  max-width: calc(100% - 20px);
  overflow: hidden;
  padding: 9px 10px;
  position: absolute;
  text-align: center;
  text-overflow: ellipsis;
  transform: translateX(-50%);
  width: fit-content;
  word-break: break-word;
  z-index: 2;
}

.caption-band-card .card-label {
  border-top: 1px solid rgba(0, 0, 0, 0.92);
  border-radius: 0;
  bottom: 0;
  box-shadow: none;
  display: flex;
  height: 18%;
  justify-content: center;
  left: 0;
  line-height: 0.95;
  max-height: none;
  max-width: none;
  padding: 5px 7px;
  transform: none;
  width: 100%;
}

.card-tools,
.crop-toggle,
.card-name-field,
.secondary-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 0;
}

.card-name-field {
  display: grid;
  gap: 6px;
}

.card-name-field input {
  min-height: 42px;
}

.card-tools button,
.crop-toggle button,
.secondary-downloads button {
  background: #fff;
  border: 1px solid rgba(37, 23, 17, 0.1);
  border-radius: 999px;
  color: #594337;
  font-size: 0.78rem;
  font-weight: 900;
  min-height: 32px;
  padding: 0 9px;
}

.card-tools button:first-child,
.card-tools button:nth-child(2) {
  font-size: 1rem;
  min-width: 34px;
  padding: 0;
}

.crop-toggle {
  background: rgba(37, 23, 17, 0.06);
  border-radius: 999px;
  padding: 4px;
}

.crop-toggle button {
  border: 0;
  flex: 1;
}

.crop-toggle button.active {
  background: var(--ink);
  color: #fff;
}

.photo-edit {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 16px;
  margin-top: 0;
  padding: 10px;
}

.photo-edit summary {
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 950;
}

.photo-edit label {
  margin-top: 10px;
}

.danger-link {
  color: #bd2e22 !important;
}

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

.success-text {
  color: #217244;
  font-weight: 900;
}

.warning-text {
  color: #ad4c20;
  font-weight: 900;
}

.success-badge {
  color: #217244;
}

.warning-badge {
  color: #ad4c20;
}

.label-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.label-style-panel {
  align-content: start;
  align-items: start;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 22px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 22px;
  padding: 14px;
}

.studio-settings .label-style-panel {
  gap: 10px;
  padding: 12px;
}

.label-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 24px;
  display: flex;
  gap: 16px;
  padding: 14px;
}

.label-fields {
  display: grid;
  flex: 1;
  gap: 10px;
  min-width: 0;
}

.generator-layout,
.designer-layout,
.download-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(290px, 0.42fr) minmax(0, 0.8fr);
}

.designer-layout {
  grid-template-columns: minmax(330px, 0.56fr) minmax(360px, 0.9fr);
}

.download-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.download-instructions-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 24px;
}

.download-instructions-grid article {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 244, 220, 0.68)),
    rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 22px;
  box-shadow: var(--small-shadow);
  display: grid;
  gap: 8px;
  padding: 16px;
}

.download-instructions-grid span {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 950;
  height: 28px;
  justify-content: center;
  width: max-content;
  min-width: 36px;
  padding: 0 10px;
}

.download-instructions-grid h3 {
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: 1.04rem;
  margin: 0;
}

.download-instructions-grid p {
  color: #60483a;
  font-size: 0.92rem;
  font-weight: 820;
  line-height: 1.45;
  margin: 0;
}

.print-promo-card {
  background:
    radial-gradient(circle at 86% 16%, rgba(255, 213, 31, 0.42), transparent 28%),
    linear-gradient(135deg, rgba(217, 32, 22, 0.18), rgba(0, 168, 184, 0.14)),
    rgba(255, 255, 255, 0.86) !important;
}

.print-promo-card .primary-button {
  margin-top: 4px;
  min-height: 40px;
  width: max-content;
}

.download-shop-upgrade {
  background:
    linear-gradient(135deg, rgba(31, 122, 77, 0.12), rgba(255, 216, 79, 0.18)),
    rgba(255, 250, 242, 0.84);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 28px;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(220px, 0.4fr) minmax(0, 1fr);
  margin-bottom: 24px;
  overflow: hidden;
  padding: 18px;
}

.download-shop-upgrade h3 {
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: 1.5rem;
  line-height: 1;
  margin: 0 0 8px;
}

.download-shop-upgrade p {
  color: #60483a;
  font-weight: 820;
  line-height: 1.45;
  margin: 0;
}

.download-locked {
  background:
    linear-gradient(135deg, rgba(180, 35, 24, 0.12), rgba(31, 122, 77, 0.08)),
    rgba(255, 255, 255, 0.74);
  border-color: rgba(180, 35, 24, 0.22);
  grid-column: 1 / -1;
}

.generator-card {
  height: max-content;
}

.generator-guidance {
  background:
    linear-gradient(135deg, rgba(31, 122, 77, 0.11), rgba(255, 214, 77, 0.16)),
    rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 18px;
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  padding: 14px;
}

.generator-guidance strong {
  color: var(--green);
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: 1rem;
}

.generator-guidance p {
  color: #5b3526;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

.generator-sidebar,
.board-style-controls {
  display: grid;
  gap: 16px;
}

.board-style-controls {
  align-content: start;
  align-items: start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.66)),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 28px;
  box-shadow: var(--small-shadow);
  padding: 22px;
}

.redesigned-controls {
  align-content: start;
  position: sticky;
  top: 112px;
}

.studio-settings .cards-sidebar,
.studio-settings .redesigned-controls {
  position: static;
  top: auto;
}

.board-style-head p:not(.eyebrow) {
  color: #6a5345;
  line-height: 1.45;
  margin: 8px 0 0;
}

.board-style-controls h3 {
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: 1.45rem;
  margin: 0;
}

.studio-settings .board-style-controls h3 {
  font-size: 1.28rem;
}

.studio-settings .board-style-controls {
  padding: 16px;
}

.studio-settings .board-style-head p:not(.eyebrow) {
  font-size: 0.9rem;
}

.studio-settings .design-control-card {
  padding: 12px;
}

.studio-settings .template-section-card,
.studio-settings .text-style-card,
.studio-settings .design-control-card {
  gap: 10px;
  overflow: visible;
  padding: 10px;
}

.studio-settings .template-section-card summary,
.studio-settings .text-style-card summary,
.studio-settings .design-control-card summary {
  gap: 10px;
}

.studio-settings .template-section-card summary strong,
.studio-settings .text-style-card summary strong,
.studio-settings .design-control-card summary strong {
  font-size: 0.95rem;
}

.studio-settings .template-section-card summary small,
.studio-settings .text-style-card summary small,
.studio-settings .design-control-card summary small {
  font-size: 0.78rem;
}

.design-control-card {
  background: rgba(255, 250, 242, 0.74);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 22px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.template-choice-button {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 214, 77, 0.18), rgba(15, 163, 168, 0.1)),
    #fff;
  border: 2px solid rgba(37, 23, 17, 0.08);
  border-radius: 24px;
  color: var(--ink);
  display: grid;
  gap: 12px;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  padding: 12px;
  text-align: left;
}

.template-choice-button .preset-swatch {
  border: 1px solid rgba(37, 23, 17, 0.1);
  border-radius: 18px;
  display: block;
  height: 74px;
  overflow: hidden;
  position: relative;
  width: 82px;
}

.template-choice-button small,
.template-choice-button em {
  color: #72594b;
  display: block;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 850;
}

.template-choice-button strong {
  display: block;
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: 1.1rem;
  margin: 2px 0;
}

.template-choice-button > b {
  background: var(--ink);
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  padding: 8px 10px;
}

.background-control-card {
  gap: 14px;
}

.mini-card-randomizer {
  background:
    linear-gradient(135deg, rgba(255, 214, 77, 0.14), rgba(31, 122, 77, 0.08)),
    rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 16px;
  display: grid;
  gap: 8px;
  padding: 10px;
}

.mini-card-randomizer .secondary-button {
  min-height: 42px;
}

.mini-card-randomizer p {
  margin: 0;
}

.background-mini-controls {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
}

.background-mini-controls input[type="color"] {
  min-height: 48px;
}

.template-section-card {
  background: rgba(255, 250, 242, 0.78);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 22px;
  display: grid;
  gap: 14px;
  overflow: visible;
  padding: 14px;
}

.controls-locked input,
.controls-locked select,
.controls-locked button {
  cursor: not-allowed;
}

.template-section-card summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 12px;
  list-style: none;
}

.template-section-card summary::-webkit-details-marker {
  display: none;
}

.template-section-card summary strong {
  display: block;
  font-size: 1rem;
}

.template-section-card summary small {
  color: #806758;
  display: block;
  font-size: 0.84rem;
  font-weight: 800;
  margin-top: 2px;
}

.design-control-card summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 12px;
  list-style: none;
}

.design-control-card summary::-webkit-details-marker {
  display: none;
}

.design-control-card summary strong {
  display: block;
  font-size: 1rem;
}

.design-control-card summary small {
  color: #806758;
  display: block;
  font-size: 0.84rem;
  font-weight: 800;
  margin-top: 2px;
}

.accordion-card summary {
  min-width: 0;
  position: relative;
}

.accordion-card summary > span:nth-child(2) {
  min-width: 0;
}

.accordion-chevron {
  border-bottom: 2px solid #6a5345;
  border-right: 2px solid #6a5345;
  display: block;
  flex: 0 0 10px;
  height: 10px;
  margin-left: auto;
  transform: rotate(45deg);
  transition: transform 160ms ease;
  width: 10px;
}

.accordion-card[open] .accordion-chevron {
  transform: rotate(225deg);
}

.template-select-label {
  display: grid;
  gap: 7px;
}

.template-select-label select {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82)),
    #fff;
  border: 1px solid rgba(37, 23, 17, 0.13);
  border-radius: 16px;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 900;
  min-height: 52px;
  padding: 0 14px;
  width: 100%;
}

.template-current-preview {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 244, 220, 0.62)),
    rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 18px;
  display: grid;
  gap: 12px;
  grid-template-columns: 74px minmax(0, 1fr);
  padding: 10px;
}

.template-current-preview .preset-swatch {
  border: 1px solid rgba(37, 23, 17, 0.1);
  border-radius: 15px;
  display: block;
  height: 68px;
  overflow: hidden;
  position: relative;
  width: 74px;
}

.template-current-preview strong {
  display: block;
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: 1rem;
}

.template-current-preview small {
  color: #72594b;
  display: block;
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.25;
  margin-top: 3px;
}

.border-control-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr);
}

.border-control-grid input[type="color"] {
  min-height: 50px;
}

.template-carousel {
  display: flex;
  gap: 12px;
  margin: 2px -6px 0;
  overflow-x: auto;
  padding: 2px 6px 12px;
  scroll-padding-left: 6px;
  scroll-snap-type: x proximity;
}

.template-carousel::-webkit-scrollbar {
  height: 10px;
}

.template-carousel::-webkit-scrollbar-track {
  background: rgba(37, 23, 17, 0.06);
  border-radius: 999px;
}

.template-carousel::-webkit-scrollbar-thumb {
  background: rgba(37, 23, 17, 0.22);
  border-radius: 999px;
}

.template-carousel button {
  align-content: start;
  background: rgba(255, 255, 255, 0.86);
  border: 2px solid rgba(37, 23, 17, 0.08);
  border-radius: 20px;
  color: var(--ink);
  display: grid;
  flex: 0 0 168px;
  gap: 8px;
  min-height: 184px;
  padding: 10px;
  scroll-snap-align: start;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, border 180ms ease;
}

.template-carousel button:hover {
  box-shadow: var(--small-shadow);
  transform: translateY(-2px);
}

.template-carousel button.selected {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(217, 32, 22, 0.1);
}

.template-carousel .preset-swatch,
.template-carousel .plain-template-swatch,
.template-carousel .upload-template-swatch,
.highlighted-template-card > span {
  border-radius: 15px;
  display: block;
  height: 86px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.template-carousel b {
  font-size: 0.92rem;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.template-carousel small {
  color: #72594b;
  font-size: 0.74rem;
  font-weight: 820;
  line-height: 1.22;
}

.highlighted-template-card > span {
  background-color: #fff4dc;
  background-position: center;
  background-size: cover;
}

.conditional-background-controls {
  animation: fadeIn 160ms ease;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.54)),
    rgba(255, 246, 231, 0.72);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 18px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.plain-background-controls input[type="color"] {
  border-radius: 14px;
  min-height: 52px;
  padding: 6px;
  width: 100%;
}

.background-mode-note {
  color: #60483a;
  font-size: 0.84rem;
  font-weight: 820;
  margin: 0;
}

.text-style-card {
  background: rgba(255, 250, 242, 0.78);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 22px;
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 14px;
}

.text-style-card summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 12px;
  list-style: none;
}

.text-style-card summary::-webkit-details-marker {
  display: none;
}

.text-style-icon {
  align-items: center;
  background: linear-gradient(135deg, var(--purple), var(--turquoise));
  border-radius: 10px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 34px;
  font-weight: 1000;
  height: 34px;
  justify-content: center;
}

.text-style-card summary strong {
  display: block;
  font-size: 1rem;
}

.text-style-card summary small {
  color: #806758;
  display: block;
  font-size: 0.84rem;
  font-weight: 800;
  margin-top: 2px;
}

.text-style-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.studio-settings .text-style-grid {
  gap: 8px;
}

.control-label {
  color: #60483a;
  display: block;
  font-size: 0.82rem;
  font-weight: 950;
  margin-bottom: 6px;
}

.weight-picker,
.alignment-picker {
  background: #fff;
  border: 1px solid rgba(37, 23, 17, 0.1);
  border-radius: 14px;
  display: grid;
  gap: 3px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 52px;
  padding: 4px;
}

.studio-settings .weight-picker,
.studio-settings .alignment-picker {
  min-height: 40px;
}

.alignment-picker {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.weight-picker button,
.alignment-picker button {
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: #665348;
  font-size: 1.08rem;
  min-height: 32px;
}

.studio-settings .weight-picker button,
.studio-settings .alignment-picker button {
  font-size: 0.95rem;
}

.weight-picker button.active,
.alignment-picker button.active {
  background: rgba(37, 23, 17, 0.08);
  color: var(--ink);
}

.color-inline {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(37, 23, 17, 0.1);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  min-height: 52px;
  padding: 5px 10px 5px 5px;
}

.studio-settings .color-inline {
  grid-template-columns: 38px minmax(0, 1fr);
  min-height: 42px;
  padding: 4px 8px 4px 4px;
}

.color-inline input[type="color"] {
  border: 1px solid rgba(37, 23, 17, 0.12);
  border-radius: 9px;
  min-height: 34px;
  padding: 2px;
}

.color-inline input:not([type="color"]) {
  border: 0;
  min-height: 34px;
  padding: 0 8px;
}

.align-icon {
  display: grid;
  gap: 4px;
  justify-items: center;
  margin: 0 auto;
  width: 28px;
}

.align-icon i {
  background: currentColor;
  border-radius: 999px;
  display: block;
  height: 2px;
  width: 22px;
}

.align-left {
  justify-items: start;
}

.align-center {
  justify-items: center;
}

.align-right {
  justify-items: end;
}

.align-icon i:nth-child(2) {
  width: 14px;
}

.font-live-preview {
  background:
    repeating-linear-gradient(135deg, rgba(37, 23, 17, 0.035) 0 2px, transparent 2px 12px),
    rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 16px;
  font-size: 1.35rem;
  line-height: 1.05;
  min-height: 58px;
  overflow: hidden;
  padding: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.template-modal-backdrop {
  align-items: center;
  animation: fadeIn 160ms ease;
  background: rgba(29, 15, 10, 0.38);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 22px;
  position: fixed;
  z-index: 60;
}

.template-modal {
  animation: modalRise 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 213, 31, 0.22), transparent 28%),
    linear-gradient(180deg, #fffaf0, #fff0d3);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  box-shadow: 0 28px 90px rgba(29, 15, 10, 0.34);
  display: grid;
  gap: 18px;
  max-height: min(780px, calc(100vh - 44px));
  max-width: 980px;
  overflow: auto;
  padding: 24px;
  width: min(100%, 980px);
}

.template-modal-head {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.template-modal h3 {
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: 1.65rem;
  margin: 0;
}

.template-picker-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.template-picker-grid button {
  align-content: start;
  background: rgba(255, 255, 255, 0.82);
  border: 2px solid rgba(37, 23, 17, 0.08);
  border-radius: 22px;
  color: var(--ink);
  display: grid;
  gap: 9px;
  min-height: 196px;
  padding: 12px;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, border 180ms ease;
}

.template-picker-grid button:hover {
  box-shadow: var(--small-shadow);
  transform: translateY(-2px);
}

.template-picker-grid button.selected {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(217, 32, 22, 0.1);
}

.template-picker-grid .preset-swatch,
.plain-template-swatch,
.upload-template-swatch {
  border-radius: 16px;
  display: block;
  height: 96px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.plain-template-swatch {
  border: 1px solid rgba(37, 23, 17, 0.1);
  background-image: repeating-linear-gradient(135deg, rgba(37, 23, 17, 0.05) 0 2px, transparent 2px 12px);
}

.upload-template-swatch {
  background:
    linear-gradient(135deg, rgba(15, 163, 168, 0.18), rgba(239, 93, 168, 0.18)),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.8) 0 8px, transparent 8px 18px);
  border: 2px dashed rgba(239, 93, 168, 0.42);
}

.template-picker-grid b {
  font-size: 0.98rem;
}

.template-picker-grid small {
  color: #72594b;
  font-size: 0.8rem;
  font-weight: 820;
  line-height: 1.25;
}

.template-library-head {
  margin-top: 4px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalRise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes softRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.builder-panel,
.project-action-card,
.saved-project-card,
.admin-list-panel,
.admin-detail-card,
.download-card,
.template-section-card,
.text-style-card {
  animation: softRise 360ms ease both;
}

@media (prefers-reduced-motion: reduce) {
  .builder-panel,
  .project-action-card,
  .saved-project-card,
  .admin-list-panel,
  .admin-detail-card,
  .download-card,
  .template-section-card,
  .text-style-card {
    animation: none;
  }
}

.segmented-control {
  background: rgba(37, 23, 17, 0.06);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 18px;
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  padding: 6px;
}

.segmented-control button {
  background: transparent;
  border: 0;
  border-radius: 13px;
  color: #60483a;
  font-size: 0.82rem;
  font-weight: 950;
  min-height: 40px;
  padding: 8px;
}

.segmented-control button.active {
  background: #fff;
  box-shadow: 0 8px 18px rgba(89, 37, 21, 0.12);
  color: var(--ink);
}

.layout-control button {
  min-height: 46px;
}

.color-control-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.color-control-grid label {
  gap: 6px;
}

.color-control-grid input[type="color"] {
  border-radius: 16px;
  min-height: 48px;
  padding: 6px;
}

.board-theme-grid {
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  margin: 0;
}

.board-theme-grid button {
  align-items: stretch;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.66)),
    #fff;
  border-color: rgba(37, 23, 17, 0.08);
  display: grid;
  gap: 8px;
  min-height: 172px;
  padding: 12px;
  text-align: left;
}

.board-theme-grid .preset-swatch {
  border: 1px solid rgba(37, 23, 17, 0.1);
  border-radius: 16px;
  height: 78px;
  width: 100%;
}

.board-theme-grid .preset-swatch::before {
  inset: 8px;
}

.board-theme-grid small {
  color: #72594b;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.25;
}

.background-option-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
}

.background-option-grid button {
  align-items: stretch;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.7)),
    #fff;
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 18px;
  display: grid;
  gap: 7px;
  min-height: 142px;
  padding: 10px;
  text-align: left;
}

.background-option-grid button.selected {
  border-color: var(--turquoise);
  box-shadow: 0 10px 22px rgba(15, 163, 168, 0.16);
}

.background-option-grid b {
  font-size: 0.82rem;
  line-height: 1.05;
}

.background-option-grid small {
  color: #72594b;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
}

.background-option-swatch {
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 14px;
  display: block;
  height: 58px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.background-option-swatch::before,
.background-option-swatch::after {
  content: "";
  inset: 0;
  position: absolute;
}

.background-option-swatch::before {
  background:
    radial-gradient(circle at 16% 28%, color-mix(in srgb, var(--board-accent) 72%, transparent) 0 7px, transparent 8px),
    radial-gradient(circle at 75% 34%, color-mix(in srgb, var(--board-ribbon) 72%, transparent) 0 8px, transparent 9px),
    linear-gradient(135deg, rgba(255,255,255,0.34), transparent);
}

.background-option-swatch.pattern-theme::before,
.background-option-swatch.pattern-fiestaPapel::before {
  background:
    linear-gradient(135deg, var(--board-ribbon) 0 18%, transparent 18% 28%, var(--board-accent) 28% 48%, transparent 48% 60%, var(--yellow) 60% 78%, var(--pink) 78%),
    radial-gradient(circle at 35% 44%, rgba(255,255,255,0.82) 0 4px, transparent 5px);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 84% 100%, 68% 72%, 52% 100%, 36% 72%, 20% 100%, 0 72%);
}

.background-option-swatch.pattern-none::before {
  background:
    radial-gradient(circle at 24% 24%, rgba(255,255,255,0.48), transparent 22px),
    repeating-linear-gradient(135deg, rgba(42,23,16,0.04) 0 2px, transparent 2px 12px);
}

.background-option-swatch.pattern-birthdayConfetti::before {
  background:
    radial-gradient(circle at 20% 38%, var(--board-accent) 0 12px, transparent 13px),
    radial-gradient(circle at 70% 34%, var(--board-ribbon) 0 11px, transparent 12px),
    repeating-linear-gradient(35deg, var(--yellow) 0 4px, transparent 4px 12px),
    radial-gradient(circle at 50% 74%, var(--pink) 0 5px, transparent 6px);
}

.background-option-swatch.pattern-weddingBotanical::before {
  background:
    radial-gradient(circle at 18% 42%, #fff 0 12px, transparent 13px),
    radial-gradient(circle at 35% 35%, #fff 0 10px, transparent 11px),
    radial-gradient(circle at 62% 62%, var(--board-accent) 0 4px, transparent 5px),
    linear-gradient(135deg, rgba(255,255,255,0.78), color-mix(in srgb, var(--board-ribbon) 22%, white));
}

.background-option-swatch.pattern-babyShowerClouds::before {
  background:
    radial-gradient(circle at 24% 46%, rgba(255,255,255,0.96) 0 15px, transparent 16px),
    radial-gradient(circle at 46% 36%, rgba(255,255,255,0.88) 0 18px, transparent 19px),
    radial-gradient(circle at 78% 68%, var(--board-accent) 0 5px, transparent 6px),
    radial-gradient(circle at 62% 28%, var(--yellow) 0 4px, transparent 5px);
}

.background-option-swatch.pattern-classroomStars::before {
  background:
    repeating-linear-gradient(0deg, rgba(47, 128, 237, 0.22) 0 2px, transparent 2px 12px),
    radial-gradient(circle at 25% 32%, var(--yellow) 0 7px, transparent 8px),
    radial-gradient(circle at 72% 64%, var(--board-accent) 0 6px, transparent 7px);
}

.background-option-swatch.pattern-familyMemory::before {
  background:
    linear-gradient(135deg, transparent 0 18%, var(--board-accent) 18% 24%, transparent 24% 76%, var(--board-ribbon) 76% 82%, transparent 82%),
    radial-gradient(circle at 32% 38%, var(--pink) 0 6px, transparent 7px),
    radial-gradient(circle at 72% 64%, var(--yellow) 0 7px, transparent 8px);
}

.background-option-swatch.pattern-holidayLights::before {
  background:
    radial-gradient(circle at 16% 30%, var(--board-accent) 0 5px, transparent 6px),
    radial-gradient(circle at 38% 42%, var(--yellow) 0 5px, transparent 6px),
    radial-gradient(circle at 60% 28%, var(--board-ribbon) 0 5px, transparent 6px),
    radial-gradient(circle at 82% 44%, var(--pink) 0 5px, transparent 6px);
}

.background-option-swatch.pattern-cleanWarm::before {
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,0.54), transparent 20px),
    repeating-linear-gradient(135deg, rgba(42,23,16,0.04) 0 2px, transparent 2px 11px);
}

.background-preview-card {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 18px;
  display: grid;
  gap: 10px;
  grid-template-columns: 92px minmax(0, 1fr);
  padding: 10px;
}

.background-preview-card div {
  aspect-ratio: 5 / 3.4;
  background-position: center;
  background-size: cover;
  border-radius: 14px;
}

.background-preview-card span {
  color: #60483a;
  font-size: 0.85rem;
  font-weight: 900;
}

.compact-minihead {
  margin-top: 8px;
}

.highlighted-background-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
}

.highlighted-background-grid button {
  background: #fff;
  border: 2px solid rgba(37, 23, 17, 0.08);
  border-radius: 18px;
  color: var(--ink);
  display: grid;
  gap: 8px;
  padding: 8px;
  text-align: left;
}

.highlighted-background-grid button.selected {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(217, 32, 22, 0.1);
}

.highlighted-background-grid span {
  aspect-ratio: 5 / 3.5;
  background-color: #fff4dc;
  background-position: center;
  background-size: cover;
  border-radius: 12px;
  display: block;
}

.highlighted-background-grid b {
  font-size: 0.82rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.admin-background-upload {
  background:
    linear-gradient(135deg, rgba(217, 32, 22, 0.1), rgba(0, 168, 184, 0.1)),
    rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(37, 23, 17, 0.1);
  border-radius: 18px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.admin-background-upload p {
  color: #60483a;
  font-size: 0.84rem;
  font-weight: 820;
  margin: 4px 0 0;
}

.admin-background-list {
  display: grid;
  gap: 8px;
}

.admin-background-list div {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 14px;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 8px 10px;
}

.admin-background-list span {
  font-size: 0.84rem;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-background-list button {
  background: rgba(180, 35, 24, 0.08);
  border: 1px solid rgba(180, 35, 24, 0.2);
  border-radius: 999px;
  color: #9c241b;
  font-size: 0.75rem;
  font-weight: 950;
  min-height: 32px;
  padding: 0 10px;
}

.background-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.tiny-copy {
  font-size: 0.86rem;
  margin: -4px 0 0;
}

.watermark-note {
  align-items: center;
  background: rgba(37, 23, 17, 0.06);
  border-radius: 18px;
  display: flex;
  gap: 10px;
  padding: 12px;
}

.watermark-note img {
  border-radius: 12px;
  box-shadow: var(--small-shadow);
  flex: 0 0 38px;
  height: 38px;
  object-fit: cover;
  width: 38px;
}

.watermark-note strong {
  color: #594337;
  font-size: 0.86rem;
}

.finalize-panel {
  align-items: center;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 216, 79, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 244, 220, 0.76));
  border: 1px solid rgba(37, 23, 17, 0.1);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(89, 37, 21, 0.12);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 16px;
  padding: 16px;
}

.attempt-notice {
  background:
    linear-gradient(135deg, rgba(201, 42, 28, 0.1), rgba(47, 111, 69, 0.08)),
    rgba(255, 250, 240, 0.84);
  border: 1px solid rgba(201, 42, 28, 0.18);
  border-radius: 22px;
  color: var(--ink);
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
  padding: 16px 18px;
}

.attempt-notice strong {
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.attempt-notice p {
  color: #60483a;
  font-weight: 820;
  margin: 0;
}

.finalize-panel span {
  color: #b42318;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.finalize-panel strong {
  display: block;
  font-size: 1.12rem;
  margin-top: 3px;
}

.finalize-panel p {
  color: #60483a;
  font-size: 0.88rem;
  font-weight: 780;
  margin: 3px 0 0;
}

.mixing-bar {
  background: rgba(37, 23, 17, 0.08);
  border-radius: 999px;
  height: 10px;
  margin-top: 18px;
  overflow: hidden;
}

.mixing-bar span {
  animation: slide 1.1s infinite ease-in-out;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--turquoise));
  border-radius: inherit;
  display: block;
  height: 100%;
  width: 38%;
}

@keyframes slide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(270%);
  }
}

.advanced-box {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 22px;
  margin-top: 18px;
  padding: 16px;
}

.advanced-box summary {
  cursor: pointer;
  font-weight: 950;
}

.advanced-grid {
  margin-top: 16px;
}

.stats-panel {
  background: #fff;
  border-radius: 18px;
  color: #5e4638;
  margin-top: 16px;
  padding: 14px;
}

.stats-panel p {
  margin: 8px 0 0;
}

.frequency-mini-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  margin-top: 14px;
}

.frequency-mini {
  background: rgba(37, 23, 17, 0.05);
  border-radius: 12px;
  display: grid;
  gap: 5px;
  padding: 8px;
}

.frequency-mini span,
.frequency-mini b {
  font-size: 0.72rem;
  font-weight: 950;
}

.frequency-mini div {
  background: rgba(37, 23, 17, 0.12);
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
}

.frequency-mini i {
  background: linear-gradient(90deg, var(--turquoise), var(--pink));
  border-radius: inherit;
  display: block;
  height: 100%;
}

.board-gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.single-board-preview-panel {
  align-content: start;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.single-preview-head {
  align-items: center;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 999px;
  display: inline-flex;
  gap: 10px;
  justify-content: center;
  padding: 9px 14px;
}

.single-preview-head span {
  color: #806758;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.single-preview-head strong {
  font-size: 0.92rem;
}

.single-board-preview-panel > .board-preview {
  max-height: 760px;
  max-width: 540px;
  width: min(100%, 540px);
}

.board-thumb {
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
}

.board-thumb.selected .board-preview {
  outline: 4px solid var(--pink);
}

.board-thumb > span {
  display: block;
  font-size: 0.85rem;
  font-weight: 950;
  margin-top: 8px;
  text-align: center;
}

.board-preview {
  aspect-ratio: 5 / 7;
  background: rgba(255, 250, 242, 0.72);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 20px;
  box-shadow: 0 16px 38px rgba(89, 37, 21, 0.14);
  container-type: inline-size;
  display: block;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.board-preview > *,
.board-preview canvas {
  position: relative;
  z-index: 1;
}

.board-preview canvas {
  border-radius: inherit;
  display: block;
  height: 100%;
  width: 100%;
}

.canvas-board-preview.loading canvas {
  opacity: 0.28;
}

.canvas-board-preview.loading > span {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 999px;
  color: #60483a;
  font-size: 0.82rem;
  font-weight: 950;
  left: 50%;
  padding: 9px 12px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  z-index: 2;
}

.board-preview::before,
.board-preview::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.board-preview::before {
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,0.48), transparent 22%),
    radial-gradient(circle at 80% 86%, color-mix(in srgb, var(--board-accent) 28%, transparent), transparent 22%);
  inset: 0;
}

.board-preview.theme-fiesta::after,
.board-preview.theme-holiday::after {
  background: repeating-linear-gradient(
    90deg,
    var(--board-ribbon) 0 16px,
    var(--yellow) 16px 32px,
    var(--board-accent) 32px 48px,
    var(--green) 48px 64px
  );
  clip-path: polygon(0 0, 100% 0, 100% 8%, 92% 15%, 84% 8%, 76% 15%, 68% 8%, 60% 15%, 52% 8%, 44% 15%, 36% 8%, 28% 15%, 20% 8%, 12% 15%, 4% 8%, 0 15%);
  height: 54px;
  left: 0;
  opacity: 0.45;
  right: 0;
  top: 0;
}

.board-preview.theme-wedding::after {
  border: 2px solid color-mix(in srgb, var(--board-accent) 48%, transparent);
  border-radius: 999px;
  height: 70px;
  opacity: 0.34;
  right: -24px;
  top: 82px;
  width: 120px;
}

.board-preview.theme-bold::after {
  background: repeating-linear-gradient(-35deg, var(--board-accent) 0 10px, transparent 10px 23px);
  inset: 0;
  opacity: 0.15;
}

.board-preview.theme-baby::after,
.board-preview.theme-pastel::after {
  background:
    radial-gradient(circle at 16% 30%, var(--board-accent) 0 4px, transparent 5px),
    radial-gradient(circle at 82% 42%, var(--board-ribbon) 0 5px, transparent 6px),
    radial-gradient(circle at 55% 86%, var(--yellow) 0 4px, transparent 5px);
  inset: 0;
  opacity: 0.45;
}

.board-ribbon {
  background: linear-gradient(90deg, var(--board-ribbon, var(--turquoise)), var(--yellow), var(--pink), var(--board-accent, var(--green)));
  border-radius: 999px;
  flex: 0 0 7px;
  margin-bottom: 7px;
}

.board-preview h3 {
  font-family: var(--board-title-font), "Trebuchet MS", Inter, sans-serif;
  font-size: clamp(0.88rem, 7.2cqw, 1.9rem);
  line-height: 1;
  margin: 0 0 4px;
  min-height: 1.05em;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-preview p {
  font-size: clamp(0.52rem, 3.25cqw, 0.82rem);
  font-weight: 800;
  margin: 0 0 6px;
  min-height: 1rem;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-preview-grid {
  display: grid;
  flex: 1;
  gap: clamp(3px, 1.7cqw, 10px);
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, minmax(0, 1fr));
  min-height: 0;
}

.board-preview-card {
  align-items: center;
  display: flex;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
}

.board-preview-card .card-preview,
.board-preview-card .card-preview-canvas {
  aspect-ratio: 2.5 / 3.5;
  border: 1px solid rgba(0, 0, 0, 0.78);
  border-radius: inherit;
  box-shadow: none;
  height: 100%;
  min-width: 0;
  width: auto;
}

.board-preview-card .card-number {
  border-width: 0;
  box-shadow: 0 2px 5px rgba(37, 23, 17, 0.08);
  font-size: 0.5rem;
  height: 17px;
  left: 4px;
  min-width: 17px;
  padding: 0 5px;
  top: 4px;
}

.board-preview-card .caption-band-card .card-number {
  font-size: 0.46rem;
  left: 4px;
  top: 4px;
}

.board-preview-card .card-label {
  border-radius: 6px;
  bottom: 6px;
  font-size: 0.54rem !important;
  font-weight: 1000;
  line-height: 0.95;
  max-height: 27px;
  max-width: calc(100% - 8px);
  padding: 4px;
}

.board-preview-card .caption-band-card .card-label {
  bottom: 0;
  border-radius: 0;
  font-size: 0.48rem !important;
  height: 19%;
  line-height: 0.9;
  max-height: none;
  max-width: none;
  padding: 2px;
  width: 100%;
}

.board-preview strong {
  bottom: 16px;
  display: block;
  font-size: 0.8rem;
  font-weight: 1000;
  left: 50%;
  margin-top: 0;
  position: absolute;
  text-align: center;
  transform: translateX(-50%);
  z-index: 2;
}

.board-watermark {
  align-items: center;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  display: inline-flex;
  gap: 6px;
  bottom: 10px;
  left: 12px;
  max-width: 42%;
  padding: 4px 9px 4px 5px;
  position: absolute;
  z-index: 2;
}

.board-watermark span {
  align-items: center;
  background: linear-gradient(135deg, var(--board-accent, var(--red)), var(--board-ribbon, var(--turquoise)));
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 0.48rem;
  font-weight: 950;
  height: 20px;
  justify-content: center;
  width: 28px;
}

.board-watermark b {
  color: currentColor;
  font-size: 0.54rem;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empty-gallery {
  align-items: center;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 430px;
  padding: 30px;
  text-align: center;
}

.empty-board-grid {
  max-width: 230px;
  width: 70%;
}

.designer-layout {
  align-items: start;
  grid-template-columns: minmax(340px, 0.52fr) minmax(420px, 0.92fr);
}

.design-controls,
.designer-preview {
  display: grid;
  gap: 16px;
}

.designer-preview > .board-preview {
  justify-self: center;
  max-height: 760px;
  max-width: 540px;
  width: min(100%, 540px);
}

.designer-preview .compact-empty {
  min-height: 0;
}

.switch-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  display: flex;
  gap: 10px;
  min-height: 52px;
  padding: 12px;
}

.studio-settings .switch-row {
  border-radius: 14px;
  min-height: 40px;
  padding: 8px;
}

.switch-row input {
  accent-color: var(--pink);
  min-height: auto;
  width: auto;
}

.download-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.primary-download {
  background:
    linear-gradient(135deg, rgba(255, 214, 77, 0.24), rgba(239, 93, 168, 0.16)),
    rgba(255, 255, 255, 0.8);
}

.secondary-downloads button {
  flex: 1 1 170px;
}

.busy-banner {
  border-radius: 22px;
  margin-top: 18px;
  text-align: center;
}

.download-time-note {
  background: rgba(255, 214, 77, 0.18);
  border: 1px solid rgba(180, 105, 20, 0.18);
  border-radius: 16px;
  color: #5b3526;
  font-weight: 850;
  padding: 12px;
}

.toast {
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  bottom: 24px;
  box-shadow: var(--shadow);
  color: #fff;
  font-weight: 900;
  left: 50%;
  max-width: calc(100vw - 40px);
  padding: 14px 20px;
  position: fixed;
  transform: translateX(-50%);
  z-index: 30;
}

.modal-backdrop {
  align-items: center;
  background: rgba(37, 23, 17, 0.32);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 50;
}

.auth-card {
  background: rgba(255, 250, 242, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  max-width: 480px;
  padding: 28px;
  position: relative;
  width: min(100%, 480px);
}

.auth-card h2,
.dashboard-panel h2 {
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  margin-bottom: 0;
}

.auth-mode-tabs {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 999px;
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-right: 64px;
  padding: 6px;
}

.auth-mode-tabs button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #60483a;
  cursor: pointer;
  font-weight: 950;
  min-height: 38px;
}

.auth-mode-tabs button.active {
  background: var(--ink);
  color: #fffaf2;
}

.auth-benefit-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.auth-benefit-strip span {
  background: rgba(47, 111, 69, 0.11);
  border: 1px solid rgba(47, 111, 69, 0.15);
  border-radius: 999px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
  padding: 7px 10px;
}

.modal-close {
  background: rgba(37, 23, 17, 0.08);
  border: 0;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  min-height: 34px;
  padding: 0 12px;
  position: absolute;
  right: 18px;
  top: 18px;
}

.auth-message {
  background: rgba(255, 214, 77, 0.24);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 16px;
  color: #60483a;
  font-weight: 850;
  padding: 12px 14px;
}

.auth-code-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 16px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  padding: 12px 14px;
}

.auth-code-toggle input {
  min-height: auto;
  width: auto;
}

.auth-code-toggle span {
  font-size: 0.94rem;
  font-weight: 900;
}

.dashboard-panel {
  display: grid;
  gap: 18px;
}

.account-summary-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-summary-grid article,
.admin-summary-grid article,
.billing-options article,
.admin-row {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62)),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  padding: 14px;
}

.account-summary-grid span,
.admin-summary-grid span,
.billing-options span,
.admin-row span {
  color: #60483a;
  font-size: 0.86rem;
  font-weight: 850;
}

.account-summary-grid strong,
.admin-summary-grid strong,
.billing-options strong {
  display: block;
  font-size: 1.35rem;
  margin-top: 4px;
}

.billing-options,
.access-code-panel,
.square-pass-panel,
.profile-form,
.admin-code-card,
.project-list {
  display: grid;
  gap: 12px;
}

.admin-summary-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-tabs {
  align-items: center;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 999px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
}

.dashboard-tabs button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #60483a;
  cursor: pointer;
  font-weight: 950;
  padding: 10px 16px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.dashboard-tabs button:hover,
.dashboard-tabs button.active {
  background: var(--ink);
  color: #fffaf2;
  transform: translateY(-1px);
}

.account-tab-panel,
.admin-tab-panel {
  animation: panelLift 260ms ease both;
  display: grid;
  gap: 14px;
}

@keyframes panelLift {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admin-code-card {
  align-items: end;
  background:
    radial-gradient(circle at 8% 12%, rgba(242, 79, 155, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(255, 216, 79, 0.24), rgba(7, 174, 182, 0.15)),
    rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 24px;
  grid-template-columns: minmax(230px, 1.4fr) repeat(auto-fit, minmax(140px, 0.7fr));
  padding: 16px;
}

.admin-code-card > div:first-child {
  align-self: center;
}

.admin-background-manager {
  margin-top: 12px;
}

.admin-tab-panel .admin-background-manager,
.admin-tab-panel .landing-content-manager {
  margin-top: 0;
}

.admin-manager-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 250, 242, 0.72)),
    rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 24px;
  display: grid;
  gap: 14px;
  padding: 16px;
}

.admin-manager-card h3 {
  margin: 0;
}

.admin-profile-form {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-profile-form button {
  min-height: 46px;
}

.codes-admin-panel {
  gap: 18px;
}

.landing-content-manager {
  align-items: stretch;
  grid-template-columns: minmax(220px, 0.56fr) minmax(0, 1.44fr);
  margin-top: 12px;
}

.landing-editor-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-editor-loading {
  background: rgba(255, 250, 240, 0.74);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 20px;
  display: grid;
  gap: 6px;
  padding: 18px;
}

.landing-editor-loading strong {
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: 1.1rem;
}

.landing-editor-loading p {
  color: #60483a;
  font-size: 0.92rem;
  font-weight: 800;
  margin: 0;
}

.landing-editor-loading.error {
  background: rgba(255, 238, 232, 0.82);
  border-color: rgba(184, 42, 31, 0.2);
}

.landing-editor-loading.error strong {
  color: #a52a1f;
}

.landing-editor-section {
  background: rgba(255, 250, 240, 0.72);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 20px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.landing-editor-section.wide {
  grid-column: 1 / -1;
}

.file-pill {
  cursor: pointer;
  position: relative;
}

.file-pill input,
.statement-image-slot input {
  height: 1px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 1px;
}

.landing-asset-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.landing-copy-fields,
.statement-copy-editor {
  display: grid;
  gap: 8px;
}

.landing-copy-fields textarea,
.statement-copy-row textarea {
  min-height: 68px;
  resize: vertical;
}

.statement-copy-row {
  align-items: start;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 14px;
  display: grid;
  gap: 8px;
  grid-template-columns: 28px minmax(0, 0.8fr) minmax(0, 1fr);
  padding: 8px;
}

.statement-copy-row span {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: #fffaf0;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 950;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.landing-asset-thumb,
.landing-row-image,
.statement-image-slot i {
  background:
    linear-gradient(135deg, rgba(255, 213, 31, 0.44), rgba(15, 163, 168, 0.22)),
    #fff4dc;
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(29, 15, 10, 0.22);
}

.landing-asset-thumb {
  aspect-ratio: 1;
  border-radius: 14px;
  cursor: pointer;
  min-width: 54px;
  width: 54px;
}

.landing-asset-thumb:hover {
  outline: 3px solid rgba(201, 42, 28, 0.26);
}

.statement-image-slots {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.statement-image-slot {
  background: #fffaf0;
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 16px;
  cursor: pointer;
  display: grid;
  gap: 6px;
  padding: 8px;
  position: relative;
}

.statement-image-slot span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
}

.statement-image-slot i {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  display: block;
}

.statement-image-slot b,
.statement-image-slot button {
  font-size: 0.74rem;
}

.statement-image-slot button {
  background: transparent;
  border: 0;
  color: var(--red);
  cursor: pointer;
  font-weight: 900;
  padding: 0;
  text-align: left;
}

.landing-list-editor {
  display: grid;
  gap: 10px;
}

.landing-edit-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 16px;
  display: grid;
  gap: 8px;
  grid-template-columns: 72px repeat(2, minmax(120px, 1fr)) minmax(170px, 1.2fr) auto auto;
  padding: 8px;
}

.landing-row-image {
  aspect-ratio: 1;
  border-radius: 14px;
}

.landing-edit-row textarea {
  min-height: 48px;
  resize: vertical;
}

.shop-product-edit-row {
  grid-template-columns: 72px repeat(2, minmax(110px, 0.7fr)) minmax(170px, 1fr) minmax(100px, 0.55fr) minmax(180px, 1fr) auto auto;
}

.landing-editor-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  grid-column: 1 / -1;
}

.admin-code-card h3 {
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: 1.35rem;
  margin: 0 0 6px;
}

.admin-code-card .eyebrow,
.admin-code-card .soft-copy {
  margin-bottom: 0;
}

.billing-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.billing-options article {
  display: grid;
  gap: 12px;
}

.access-code-panel,
.square-pass-panel {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(15, 163, 168, 0.16), rgba(239, 93, 168, 0.12)),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 22px;
  grid-template-columns: minmax(180px, 1fr) minmax(150px, 0.7fr) auto;
  padding: 14px;
}

.access-code-panel.compact,
.square-pass-panel.compact {
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(211, 47, 47, 0.1), rgba(15, 163, 168, 0.13)),
    rgba(255, 250, 242, 0.82);
  grid-template-columns: 1fr;
}

.access-code-panel div,
.square-pass-panel div {
  display: grid;
  gap: 4px;
}

.access-code-panel p,
.square-pass-panel p {
  color: #72594b;
  font-size: 0.84rem;
  font-weight: 800;
  margin: 0;
}

.access-code-panel span,
.square-pass-panel span {
  color: #60483a;
  font-size: 0.86rem;
  font-weight: 850;
}

.access-code-panel strong,
.square-pass-panel strong {
  font-size: 1.2rem;
}

.access-code-panel input {
  text-transform: uppercase;
}

.access-code-message {
  color: #60483a;
  font-size: 0.86rem;
  font-weight: 900;
  margin: 0;
}

.square-pass-actions {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px !important;
}

.square-pass-actions button {
  min-height: 42px;
}

.profile-form {
  align-items: end;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 22px;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto;
  padding: 14px;
}

.profile-form div {
  display: grid;
  gap: 4px;
}

.profile-form div span,
.profile-form label span {
  color: #60483a;
  font-size: 0.86rem;
  font-weight: 850;
}

.profile-form strong {
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.billing-note {
  background: rgba(255, 214, 77, 0.22);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 18px;
  color: #60483a;
  font-weight: 850;
  padding: 14px;
}

.legal-panel {
  margin-inline: auto;
  max-width: 920px;
}

.legal-panel h1 {
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  margin: 0;
}

.legal-lead {
  font-size: 1.05rem;
  max-width: 720px;
}

.policy-card {
  background:
    radial-gradient(circle at 90% 0%, rgba(15, 163, 168, 0.14), transparent 28%),
    rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 26px;
  display: grid;
  gap: 12px;
  padding: clamp(18px, 4vw, 32px);
}

.policy-card p {
  color: #4f382c;
  font-size: 1rem;
  font-weight: 780;
  line-height: 1.7;
  margin: 0;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section-minihead {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.section-minihead > span {
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(37, 23, 17, 0.08);
  border-radius: 18px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(180px, 1.4fr) repeat(2, minmax(86px, 0.4fr)) auto;
  padding: 14px;
}

.project-row div {
  display: grid;
  gap: 3px;
}

.project-row strong {
  font-size: 1rem;
}

.project-row span {
  color: #60483a;
  font-size: 0.88rem;
  font-weight: 850;
}

.admin-table {
  display: grid;
  gap: 8px;
}

.admin-row {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(160px, 1.4fr) repeat(5, minmax(86px, 0.8fr));
}

.admin-head {
  background: rgba(37, 23, 17, 0.08);
  font-weight: 950;
}

@media (max-width: 1120px) {
  .builder-studio-layout {
    grid-template-columns: minmax(320px, 0.4fr) minmax(0, 1fr);
  }

  .studio-guidance {
    border-left: 0;
    border-top: 1px solid rgba(37, 23, 17, 0.08);
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    position: static;
  }

  .studio-guidance .studio-action-row {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-download-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .hero,
  .two-column,
  .seo-landing-hero,
  .builder-intro,
  .project-hub-hero,
  .seo-intent-section,
  .download-shop-upgrade,
  .admin-workspace,
  .cards-workspace,
  .generator-layout,
  .designer-layout,
  .download-layout {
    grid-template-columns: 1fr;
  }

  .admin-profile-form,
  .landing-content-manager {
    grid-template-columns: 1fr;
  }

  .cards-sidebar {
    position: static;
  }

  .redesigned-controls {
    position: static;
  }

  .download-instructions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .builder-studio-layout {
    grid-template-columns: 1fr;
  }

  .studio-settings,
  .studio-guidance {
    border-left: 0;
    border-right: 0;
    position: static;
  }

  .studio-settings {
    border-bottom: 1px solid rgba(37, 23, 17, 0.08);
  }

  .studio-guidance {
    grid-template-columns: 1fr;
  }

  .studio-guidance .studio-action-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .manifesto-section {
    min-height: 420px;
  }

  .hero-copy {
    width: 100%;
  }

  .mockup-stage {
    height: auto;
    min-height: 460px;
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
  }

  .feature-grid,
  .flow-grid,
  .sample-grid,
  .review-grid,
  .seo-content-grid,
  .seo-related-grid,
  .project-action-grid,
  .label-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .label-style-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .use-case-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stepper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .builder-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
  }

  .top-nav {
    align-items: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 12px 14px;
  }

  .builder-header-actions,
  .account-controls {
    justify-content: flex-start;
  }

	  .nav-links {
	    background: rgba(255, 250, 240, 0.98);
	    border: 1px solid rgba(37, 23, 17, 0.08);
	    border-radius: 22px;
	    box-shadow: var(--small-shadow);
	    display: none;
	    gap: 8px;
	    grid-column: 1 / -1;
	    grid-template-columns: 1fr;
	    justify-content: stretch;
	    padding: 10px;
	    width: 100%;
	  }

  .top-nav.menu-open .nav-links {
    display: grid;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .nav-ghost,
  .nav-cta,
  .secondary-button.small-button {
    min-height: 38px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .nav-links > a,
  .nav-links > button,
  .nav-links > .language-toggle,
  .nav-links > .nav-dropdowns {
    justify-content: center;
    width: 100%;
  }

  .nav-dropdowns {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .nav-dropdown summary {
    justify-content: center;
    width: 100%;
  }

  .nav-dropdown-menu {
    box-shadow: none;
    margin-top: 7px;
    min-width: 0;
    position: static;
    width: 100%;
  }

  .nav-icon {
    display: none;
  }

  .top-nav {
    border-radius: 0 0 28px 28px;
    margin-top: 0;
    top: 0;
    width: 100%;
  }

  .top-nav::after {
    bottom: -5px;
    left: 16px;
    right: 16px;
  }

  .section-band,
  .access-code-strip,
  .feature-section,
  .seo-intent-section,
  .how-section,
  .statement-section,
  .sample-section,
  .physical-shop-section,
  .review-section,
  .final-cta,
  .site-footer,
  .builder-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .seo-chip-grid {
    justify-content: flex-start;
  }

	  .hero {
	    border-radius: 28px;
	    min-height: auto;
	    padding: 42px 18px 30px;
	  }

  .hero-copy::before {
    height: 44px;
    right: 10px;
    top: -12px;
    width: 34px;
  }

  .loteria-marquee {
    margin: 10px 0 22px;
  }

  .loteria-marquee div {
    gap: 22px;
    padding: 12px 0;
  }

  .loteria-marquee span::after {
    margin-left: 22px;
  }

  .manifesto-section {
    border-radius: 28px;
    margin-bottom: 22px;
    min-height: auto;
    padding: 92px 16px;
  }

  .manifesto-section::before,
  .manifesto-section::after {
    height: 52px;
  }

  .manifesto-section .eyebrow {
    margin-top: 0;
  }

  .manifesto-section h2 {
    font-size: clamp(2.05rem, 11vw, 3.3rem);
  }

  .manifesto-art span {
    display: none;
  }

  .hero-artwork img {
    object-position: 68% bottom;
  }

  .hero-artwork::after {
    background:
      linear-gradient(180deg, rgba(255, 243, 199, 0.98) 0%, rgba(255, 243, 199, 0.88) 48%, rgba(255, 243, 199, 0.22) 78%),
      linear-gradient(90deg, rgba(255, 243, 199, 0.92), rgba(255, 243, 199, 0.18));
  }

  .hero-artwork-card {
    bottom: 28px;
    left: 18px;
    max-width: calc(100% - 36px);
    right: 18px;
  }

	  .hero-showcase {
		    height: 560px;
		    left: auto;
		    right: auto;
		    width: 100%;
		  }

  .hero-deck-stack {
    bottom: 34%;
    height: 148px;
    left: 2%;
    width: 108px;
  }

  .hero-deck-card strong {
    font-size: 0.86rem;
    margin-top: -35px;
  }

  .hero-deck-card small {
    font-size: 0.42rem;
    margin-top: -16px;
  }

  .floating-style-card {
    height: 128px;
    width: 92px;
  }

  .floating-two {
    left: 104px;
  }

  .realistic-board {
    width: min(84%, 410px);
  }

  .realistic-board {
    border-radius: 20px;
    gap: 8px;
    margin: 0 auto;
    padding: 15px 14px 10px;
    transform: rotate(0.6deg);
  }

  .realistic-board::before,
  .realistic-board::after {
    display: none;
  }

  .realistic-board-heading strong {
    font-size: 1.55rem;
  }

  .realistic-board-heading span {
    font-size: 0.72rem;
  }

  .realistic-grid {
    gap: 4px;
    padding: 0;
  }

  .realistic-card {
    border-width: 1.5px;
    border-radius: 5px;
  }

  .shadow-label .realistic-photo strong {
    bottom: 4px;
    font-size: 0.44rem;
    left: 4px;
    padding: 2px 3px;
    right: 4px;
    -webkit-text-stroke: 1.4px rgba(255,255,255,0.88);
  }

  .caption-band > strong {
    font-size: 0.46rem;
  }

  .realistic-board-footer {
    padding: 0;
  }

  .realistic-board-footer span {
    font-size: 0.46rem;
    max-width: 132px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .floating-style-card {
    display: none;
  }

  .hero-slogan {
    gap: 6px;
  }

  .hero-slogan span {
    font-size: 0.82rem;
    padding: 8px 10px;
  }

  .statement-section {
    gap: 14px;
    padding-top: 8px;
  }

  .statement-line {
    border-radius: 26px;
    grid-template-areas:
      "title"
      "media"
      "copy";
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 28px 20px 26px;
  }

  .statement-media {
    min-height: 160px;
  }

  .statement-line h2 {
    font-size: clamp(2.55rem, 15vw, 4.4rem);
  }

  .hero h1,
  .builder-intro h1 {
    font-size: 2.95rem;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .mockup-stage {
    aspect-ratio: auto;
    height: 160px;
    margin-left: -16px;
    margin-right: -16px;
    min-height: 160px;
    width: calc(100% + 32px);
  }

  .mock-board {
    border-radius: 24px;
    right: 8px;
    padding: 20px;
    width: 78%;
  }

  .mock-card-stack {
    transform: scale(0.58);
    transform-origin: left top;
  }

  .feature-grid,
  .flow-grid,
  .sample-grid,
  .review-grid,
  .project-action-grid,
	  .project-card-grid,
	  .project-hub-stats,
	  .label-grid,
	  .label-style-panel,
  .account-summary-grid,
  .admin-summary-grid,
  .billing-options,
  .access-code-panel,
  .square-pass-panel,
	  .admin-code-card,
	  .landing-content-manager,
	  .landing-editor-grid,
	  .statement-image-slots,
	  .profile-form,
	  .project-row,
	  .admin-row,
    .seo-content-grid,
    .seo-related-grid,
    .seo-faq-grid,
	  .finalize-panel,
	  .form-grid,
  .advanced-grid,
  .control-pair,
  .color-control-grid,
  .background-option-grid,
  .highlighted-background-grid,
  .background-mini-controls,
  .text-style-grid,
  .download-instructions-grid,
  .product-carousel-track,
  .border-control-grid,
  .download-settings,
  .preset-grid,
	  .use-case-grid {
	    grid-template-columns: 1fr;
	  }

  .landing-edit-row {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .landing-edit-row textarea,
  .shop-product-edit-row input,
  .landing-edit-row .file-pill,
  .landing-edit-row .danger-button {
    grid-column: 1 / -1;
  }

  .cards-main-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .template-choice-button {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .template-choice-button > b {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .template-modal {
    border-radius: 24px;
    padding: 18px;
  }

  .template-modal-head {
    align-items: stretch;
    flex-direction: column;
  }

	  .final-cta,
    .access-code-strip,
	  .site-footer,
	  .panel-header,
	  .signin-project-callout,
	  .account-routing-card,
	  .project-card-actions,
	  .admin-detail-head,
	  .builder-status-strip,
	  .step-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .studio-panel-header {
    align-items: stretch;
    flex-direction: column;
    padding: 22px 18px;
  }

  .builder-studio-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .studio-settings,
  .studio-guidance {
    border-left: 0;
    border-right: 0;
    position: static;
  }

  .studio-settings {
    border-bottom: 1px solid rgba(37, 23, 17, 0.08);
  }

  .studio-guidance {
    border-top: 1px solid rgba(37, 23, 17, 0.08);
    grid-template-columns: 1fr;
  }

  .studio-sidebar,
  .studio-main {
    padding: 18px;
  }

  .studio-action-row,
  .studio-download-grid {
    grid-template-columns: 1fr;
  }

  .site-footer nav,
  .nav-links {
    justify-content: flex-start;
  }

  .builder-panel {
    border-radius: 28px;
    padding: 20px;
  }

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

  .step-pill {
    justify-content: flex-start;
  }

  .label-row {
    align-items: stretch;
    flex-direction: column;
  }

  .card-preview.compact {
    width: 150px;
  }

  .hero-actions .large {
    flex: 1 1 100%;
    width: 100%;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .trust-strip {
    margin-top: 22px;
  }

  .trust-strip span {
    flex: 1 1 calc(50% - 10px);
    text-align: center;
  }
}

@media (max-width: 430px) {
  .hero h1,
  .builder-intro h1 {
    font-size: 2.55rem;
  }

  .hero-sub {
    font-size: 1.05rem;
  }

  .brand-mark {
    font-size: 0.92rem;
  }

  .brand-mark .logo-mark {
    border-radius: 14px;
    height: 42px;
    width: 42px;
  }
}

.ai-style-panel,
.ai-glow-panel,
.ai-token-pill,
.ai-token-balance-card,
.ai-compare-card,
.ai-token-modal {
  border: 1px solid rgba(36, 19, 14, 0.12);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 248, 232, 0.94), rgba(235, 250, 248, 0.9));
  box-shadow: 0 18px 45px rgba(74, 38, 20, 0.08);
}

.ai-style-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.compact-settings-card.label-style-panel {
  display: block;
  margin-bottom: 0;
  padding: 0;
}

.compact-settings-card summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 14px;
}

.compact-settings-card summary::-webkit-details-marker {
  display: none;
}

.compact-settings-card summary::after {
  color: #8d6251;
  content: "⌄";
  font-size: 1.1rem;
  font-weight: 1000;
}

.compact-settings-card[open] summary::after {
  transform: rotate(180deg);
}

.compact-settings-card summary span {
  display: grid;
  gap: 2px;
}

.compact-settings-card summary strong {
  color: #2a1711;
  font-weight: 1000;
}

.compact-settings-card summary small {
  color: #745246;
  font-weight: 850;
}

.compact-settings-body {
  border-top: 1px solid rgba(36, 19, 14, 0.08);
  display: grid;
  gap: 10px;
  padding: 12px 14px 14px;
}

.ai-glow-panel {
  align-items: center;
  background:
    radial-gradient(circle at 6% 12%, rgba(255, 214, 77, 0.26), transparent 28%),
    radial-gradient(circle at 86% 86%, rgba(20, 141, 160, 0.15), transparent 34%),
    linear-gradient(135deg, #fff8e6, #fffdf7 48%, #f4fbf4);
  display: grid;
  gap: 18px 22px;
  grid-template-columns: minmax(0, 0.95fr) minmax(230px, 0.6fr) minmax(280px, 0.72fr);
  overflow: hidden;
  padding: 22px;
  position: relative;
}

.cards-studio-panel .ai-glow-panel {
  align-items: center;
  border: 1px solid rgba(77, 45, 28, 0.12);
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(72, 38, 16, 0.12);
  grid-template-columns: minmax(260px, 0.9fr) minmax(210px, 0.56fr) minmax(260px, 0.72fr);
  padding: 18px;
}

.cards-studio-panel .ai-glow-copy {
  display: block;
}

.cards-studio-panel .ai-glow-copy h3 {
  font-size: clamp(1.45rem, 2.4vw, 2.45rem);
}

.cards-studio-panel .ai-glow-copy p {
  font-size: 0.94rem;
}

.cards-studio-panel .ai-glow-demo {
  margin-top: 0;
}

.ai-glow-panel::before {
  background:
    linear-gradient(135deg, #b42318 0 18%, transparent 18% 32%, #ffd64d 32% 50%, transparent 50% 64%, #148da0 64% 82%, transparent 82%);
  content: "";
  height: 116px;
  opacity: 0.16;
  position: absolute;
  right: -30px;
  top: -34px;
  transform: rotate(-8deg);
  width: 250px;
}

.ai-glow-copy {
  position: relative;
  z-index: 1;
}

.ai-glow-kicker {
  color: #b42318;
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 1000;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.ai-glow-copy h3 {
  color: #24130e;
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: clamp(1.5rem, 2.6vw, 2.5rem);
  line-height: 1;
  margin: 0 0 8px;
}

.ai-glow-copy p {
  color: #60483a;
  font-weight: 820;
  line-height: 1.45;
  margin: 0;
  max-width: 720px;
}

.ai-glow-demo {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.ai-demo-card {
  background: #fff4dc;
  border: 2px solid rgba(255, 250, 240, 0.9);
  border-radius: 20px;
  box-shadow: 0 20px 38px rgba(36, 19, 14, 0.16);
  overflow: hidden;
  padding: 8px;
  transform: rotate(-4deg);
  width: clamp(82px, 8vw, 118px);
}

.ai-demo-card img,
.ai-demo-card span {
  aspect-ratio: 2.5 / 3.5;
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(20, 12, 8, 0.68);
  border-radius: 12px 12px 4px 4px;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.ai-demo-card b {
  background: #fff4dc;
  border-top: 1px solid rgba(20, 12, 8, 0.72);
  color: #24130e;
  display: block;
  font-size: 0.72rem;
  font-weight: 1000;
  line-height: 1.05;
  padding: 8px 4px 2px;
  text-align: center;
  text-transform: uppercase;
}

.ai-demo-card.illustrated {
  border-color: rgba(255, 214, 111, 0.95);
  transform: rotate(4deg);
}

.ai-demo-arrow {
  align-items: center;
  background: linear-gradient(135deg, #ffd64d, #e84a7a, #148da0);
  border: 3px solid rgba(255, 250, 240, 0.92);
  border-radius: 999px;
  box-shadow: 0 14px 26px rgba(36, 19, 14, 0.18);
  color: #fffaf0;
  display: flex;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 1000;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.ai-demo-frame {
  align-items: center;
  aspect-ratio: 2.5 / 3.5;
  border: 2px solid rgba(36, 19, 14, 0.2);
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(36, 19, 14, 0.1);
  display: grid;
  justify-items: center;
  overflow: hidden;
  position: relative;
  width: 74px;
}

.ai-demo-frame.original {
  background: #fffaf0;
}

.ai-demo-frame.original img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.ai-demo-frame.original span {
  color: #60483a;
  font-size: 0.78rem;
  font-weight: 950;
}

.ai-demo-frame.illustrated {
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 214, 77, 0.9), transparent 24%),
    linear-gradient(145deg, #e84a7a, #f7b84b 48%, #148da0);
  color: #fffaf0;
  padding: 8px;
  text-align: center;
}

.ai-demo-frame.illustrated i {
  background:
    radial-gradient(circle at 50% 34%, #fffaf0 0 13%, transparent 14%),
    linear-gradient(#24130e 0 0) center 68% / 50% 12% no-repeat;
  border-radius: 999px;
  display: block;
  height: 34px;
  opacity: 0.9;
  width: 34px;
}

.ai-demo-frame.illustrated strong {
  font-size: 0.66rem;
  line-height: 1;
  text-transform: uppercase;
}

.ai-glow-controls {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  position: relative;
  z-index: 1;
}

.ai-glow-toolbar {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.ai-control-group {
  display: grid;
  gap: 7px;
}

.ai-control-group > span {
  color: #60483a;
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.ai-glow-controls button {
  min-height: 44px;
}

.ai-refresh-button {
  min-height: 38px !important;
  padding-inline: 14px !important;
}

.ai-style-pills,
.ai-quality-toggle {
  background: rgba(36, 19, 14, 0.06);
  border: 1px solid rgba(36, 19, 14, 0.08);
  border-radius: 18px;
  display: grid;
  gap: 6px;
  padding: 5px;
}

.ai-style-pills {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ai-quality-toggle {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ai-style-pills button,
.ai-quality-toggle button {
  background: transparent;
  border: 0;
  border-radius: 13px;
  color: #60483a;
  font-size: 0.78rem;
  font-weight: 950;
  min-height: 38px;
  padding: 8px 9px;
}

.ai-style-pills button.active,
.ai-quality-toggle button.active {
  background: #fffdf7;
  box-shadow: 0 10px 20px rgba(89, 37, 21, 0.12);
  color: #24130e;
}

.ai-quality-toggle small {
  background: rgba(180, 35, 24, 0.1);
  border-radius: 999px;
  color: #b42318;
  display: inline-block;
  font-size: 0.68rem;
  margin-left: 4px;
  padding: 1px 6px;
}

.ai-more-style {
  min-height: 38px;
}

.ai-main-cta {
  width: 100%;
}

.ai-credit-note {
  color: #60483a;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.35;
  margin: 10px 0 0;
}

.ai-token-pill {
  align-content: center;
  background: rgba(255, 253, 247, 0.84);
  border: 1px solid rgba(36, 19, 14, 0.1);
  border-radius: 18px;
  display: grid;
  min-height: 46px;
  padding: 8px 12px;
}

.ai-token-pill strong {
  color: #b42318;
  font-size: 1.35rem;
  line-height: 1;
}

.ai-token-pill span {
  color: #60483a;
  font-size: 0.72rem;
  font-weight: 950;
}

.ai-bulk-bar {
  align-items: center;
  background: rgba(27, 116, 97, 0.08);
  border: 1px solid rgba(27, 116, 97, 0.14);
  border-radius: 18px;
  display: flex;
  gap: 10px;
  grid-column: 1 / -1;
  justify-content: space-between;
  padding: 10px;
}

.ai-bulk-bar span {
  color: #3c251d;
  font-weight: 950;
}

.ai-style-panel label,
.ai-token-modal label {
  display: grid;
  gap: 6px;
}

.ai-style-panel select,
.ai-token-modal select,
.ai-token-modal textarea,
.ai-token-modal input {
  min-width: 0;
  width: 100%;
}

.sparkle-button {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #b42318, #e84a7a 45%, #148da0);
  color: #fffdf7;
  cursor: pointer;
  font-weight: 900;
  padding: 10px 14px;
  box-shadow: 0 14px 30px rgba(180, 35, 24, 0.18);
}

.sparkle-button.compact {
  box-shadow: none;
  padding: 9px 13px;
}

.sparkle-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.ai-card-tools {
  background: linear-gradient(135deg, rgba(255, 214, 77, 0.16), rgba(20, 141, 160, 0.12));
  border: 1px solid rgba(36, 19, 14, 0.08);
  border-radius: 16px;
  display: grid;
  gap: 8px;
  margin-top: 0;
  padding: 8px;
}

.ai-select-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  display: flex;
  gap: 7px;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.1;
  padding: 6px 8px;
}

.ai-card-tools .sparkle-button {
  font-size: 0.84rem;
  line-height: 1.1;
  min-height: 38px;
  padding: 8px 10px;
}

.ai-compare-card {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  padding: 12px;
}

.ai-compare-card div {
  min-width: 0;
}

.ai-compare-card span {
  color: #6f5146;
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.ai-compare-card img {
  aspect-ratio: 5 / 7;
  border: 2px solid #16100d;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.ai-preview-zoom-button {
  background: transparent;
  border: 0;
  cursor: zoom-in;
  display: block;
  padding: 0;
  width: 100%;
}

.ai-preview-zoom-button img {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.ai-preview-zoom-button:hover img {
  box-shadow: 0 16px 35px rgba(36, 19, 14, 0.2);
  transform: translateY(-2px);
}

.ai-compare-actions {
  display: grid;
  gap: 8px;
  grid-column: 1 / -1;
}

.ai-token-backdrop {
  align-items: center;
  background: rgba(28, 15, 10, 0.46);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 80;
}

.ai-token-modal {
  max-height: min(760px, 92vh);
  max-width: 720px;
  overflow: auto;
  padding: 26px;
  position: relative;
  width: min(720px, 100%);
}

.ai-preview-lightbox {
  align-items: center;
  background: rgba(28, 15, 10, 0.58);
  cursor: zoom-out;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 90;
}

.ai-preview-lightbox-card {
  background: #fffaf0;
  border: 1px solid rgba(36, 19, 14, 0.15);
  border-radius: 28px;
  box-shadow: 0 32px 90px rgba(20, 9, 5, 0.32);
  cursor: default;
  display: grid;
  gap: 14px;
  max-height: 92vh;
  max-width: min(540px, 92vw);
  padding: 18px;
  position: relative;
  width: min(540px, 92vw);
}

.ai-preview-lightbox-card img {
  aspect-ratio: 5 / 7;
  border: 3px solid #16100d;
  border-radius: 20px;
  object-fit: cover;
  width: 100%;
}

.ai-preview-lightbox-card div {
  display: grid;
  gap: 3px;
}

.ai-preview-lightbox-card strong {
  color: #24130e;
  font-size: 1.1rem;
}

.ai-preview-lightbox-card span {
  color: #6f5146;
  font-weight: 900;
}

.modal-close {
  align-items: center;
  border: 1px solid rgba(36, 19, 14, 0.15);
  border-radius: 999px;
  background: #fffaf0;
  cursor: pointer;
  display: grid;
  font-size: 1.4rem;
  font-weight: 900;
  height: 38px;
  place-items: center;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 38px;
}

.ai-token-balance-card {
  align-items: baseline;
  display: flex;
  gap: 10px;
  margin: 16px 0;
  padding: 14px 16px;
}

.ai-token-balance-card strong {
  color: #b42318;
  font-size: 2rem;
}

.ai-pack-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ai-pack-card {
  border: 1px solid rgba(36, 19, 14, 0.12);
  border-radius: 18px;
  background: #fffdf7;
  cursor: pointer;
  display: grid;
  gap: 6px;
  padding: 16px;
  text-align: left;
}

.ai-pack-card strong {
  color: #148da0;
  font-size: 1.2rem;
}

.ai-pack-card em {
  color: #b42318;
  font-style: normal;
  font-weight: 900;
}

.ai-admin-workspace {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr);
}

.ai-admin-panel textarea {
  min-height: 180px;
  resize: vertical;
}

@media (max-width: 760px) {
  .ai-glow-panel {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .ai-glow-controls {
    grid-template-columns: 1fr;
  }

  .ai-glow-demo {
    justify-content: center;
  }

  .cards-studio-panel .ai-glow-copy {
    display: block;
  }

  .cards-studio-panel .ai-glow-demo {
    margin-top: 14px;
  }

  .cards-studio-panel .ai-demo-frame {
    width: 74px;
  }

  .ai-credit-note {
    grid-column: auto;
  }

  .ai-pack-grid,
  .ai-admin-workspace {
    grid-template-columns: 1fr;
  }
}

/* Commerce and selling experience */
.ghost-link {
  align-items: center;
  border-radius: 999px;
  color: var(--studio-ink, #24130e);
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  text-decoration: none;
}

.ghost-link:hover {
  background: rgba(36, 19, 14, 0.06);
}

.lm-commerce-strip {
  background:
    linear-gradient(135deg, rgba(255, 250, 236, 0.96), rgba(240, 248, 238, 0.78)),
    #fff7e7;
  border-block: 1px solid rgba(103, 65, 45, 0.12);
  padding: clamp(24px, 3.2vw, 42px) clamp(18px, 5vw, 72px);
}

.lm-commerce-strip .lm-section-head {
  margin: 0 auto 16px;
  max-width: 980px;
  text-align: center;
}

.lm-commerce-strip .lm-section-head h2 {
  font-size: clamp(1.85rem, 3.2vw, 3.4rem);
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin-bottom: 8px;
}

.lm-commerce-strip .lm-section-head p:not(.lm-kicker) {
  font-size: 0.98rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 660px;
}

.commerce-offer-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1080px;
}

.commerce-offer-card {
  background: rgba(255, 252, 244, 0.92);
  border: 1px solid rgba(89, 54, 35, 0.14);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(67, 38, 22, 0.08);
  display: grid;
  gap: 8px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.commerce-offer-card::before {
  background: var(--studio-red, #b42318);
  border-radius: 999px;
  content: "";
  height: 8px;
  left: 24px;
  position: absolute;
  right: 24px;
  top: 16px;
}

.commerce-offer-card.offer-2::before {
  background: linear-gradient(90deg, #d92872, #168aad);
}

.commerce-offer-card.offer-3::before {
  background: var(--studio-green, #1f6f4c);
}

.commerce-offer-card span {
  color: rgba(61, 39, 28, 0.72);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  margin-top: 6px;
  text-transform: uppercase;
}

.commerce-offer-card strong {
  color: var(--studio-ink, #24130e);
  font-size: clamp(1.35rem, 2.8vw, 2.2rem);
  letter-spacing: -0.015em;
  line-height: 1;
}

.commerce-offer-card p {
  color: rgba(61, 39, 28, 0.78);
  font-size: 0.9rem;
  font-weight: 720;
  line-height: 1.35;
  margin: 0;
}

.commerce-offer-card .primary-button,
.commerce-offer-card .secondary-button {
  min-height: 38px;
  padding: 0 14px;
}

.lm-payment-flow {
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.96), rgba(239, 249, 246, 0.86)),
    #fffaf0;
  border: 1px solid rgba(89, 54, 35, 0.12);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(67, 38, 22, 0.07);
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 12px auto 0;
  max-width: 1080px;
  padding: 8px;
}

.lm-payment-flow article {
  align-items: start;
  display: grid;
  gap: 4px 8px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 8px;
}

.lm-payment-flow span {
  align-items: center;
  background: #d33227;
  border-radius: 999px;
  color: #fffaf0;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 950;
  height: 24px;
  justify-content: center;
  line-height: 1;
  width: 24px;
}

.lm-payment-flow strong {
  color: #24130e;
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1.1;
}

.lm-payment-flow p {
  color: rgba(61, 39, 28, 0.74);
  font-size: 0.82rem;
  font-weight: 760;
  grid-column: 2;
  line-height: 1.34;
  margin: 0;
}

.purchase-wallet {
  background:
    linear-gradient(135deg, rgba(255, 252, 244, 0.92), rgba(240, 248, 238, 0.82)),
    #fffaf0;
  border: 1px solid rgba(103, 65, 45, 0.14);
  border-radius: 24px;
  box-shadow: 0 16px 38px rgba(50, 31, 20, 0.09);
  display: grid;
  gap: 14px;
  padding: 16px;
}

.wallet-head {
  display: grid;
  gap: 4px;
}

.wallet-head span,
.purchase-wallet article span {
  color: rgba(83, 54, 39, 0.7);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wallet-head strong {
  color: var(--studio-ink, #24130e);
  font-size: 1.02rem;
}

.wallet-grid {
  display: grid;
  gap: 8px;
}

.purchase-wallet article {
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(103, 65, 45, 0.1);
  border-radius: 18px;
  display: grid;
  gap: 3px;
  padding: 11px;
}

.purchase-wallet article strong {
  color: var(--studio-red, #b42318);
  font-size: 1rem;
}

.purchase-wallet article small {
  color: rgba(83, 54, 39, 0.75);
  font-weight: 720;
  line-height: 1.3;
}

.wallet-actions {
  display: grid;
  gap: 8px;
}

.wallet-actions .square-pass-panel {
  box-shadow: none;
  margin: 0;
}

.finalize-card {
  border-color: rgba(180, 35, 24, 0.22);
  background: linear-gradient(135deg, rgba(255, 246, 232, 0.96), rgba(255, 252, 244, 0.92));
}

.finalize-card strong {
  color: var(--studio-red, #b42318);
  display: block;
  font-size: 0.95rem;
  margin-top: 10px;
}

.commerce-workspace {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr) minmax(320px, 1fr);
}

.commerce-admin-panel textarea {
  min-height: 108px;
  width: 100%;
}

.commerce-summary-grid article strong {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.ai-pack-admin-list {
  display: grid;
  gap: 10px;
}

.ai-pack-admin-list article {
  align-items: center;
  background: rgba(255, 250, 240, 0.84);
  border: 1px solid rgba(103, 65, 45, 0.12);
  border-radius: 18px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 12px;
}

.ai-pack-admin-list article.highlighted {
  background: linear-gradient(135deg, rgba(255, 246, 221, 0.95), rgba(236, 248, 237, 0.9));
  border-color: rgba(215, 154, 41, 0.38);
}

.ai-pack-admin-list strong,
.ai-pack-admin-list span {
  display: block;
}

.ai-pack-admin-list span {
  color: var(--admin-muted, #765f52);
  font-size: 0.84rem;
  font-weight: 760;
  margin-top: 3px;
}

@media (max-width: 1080px) {
  .commerce-offer-grid,
  .lm-payment-flow,
  .commerce-workspace {
    grid-template-columns: 1fr;
  }
}

/* Modern brand revamp: cleaner premium marketing surface */
:root {
  --cream: #fff2d2;
  --ink: #21110c;
  --muted: #6f5040;
  --red: #c92b22;
  --orange: #f36c2d;
  --yellow: #f7b733;
  --turquoise: #0f7f78;
  --pink: #d94f7f;
  --green: #2d704d;
  --purple: #4b3b8f;
  --blue: #166f9f;
  --white: #fffaf0;
  --shadow: 0 34px 90px rgba(66, 35, 17, 0.16);
  --small-shadow: 0 18px 45px rgba(66, 35, 17, 0.11);
  --hairline: rgba(33, 17, 12, 0.11);
  --brand-gradient: linear-gradient(135deg, #c92b22 0%, #f36c2d 33%, #0f7f78 67%, #4b3b8f 100%);
  --paper-gradient:
    radial-gradient(circle at 12% 12%, rgba(247, 183, 51, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 8%, rgba(15, 127, 120, 0.12), transparent 24rem),
    linear-gradient(180deg, #fff9eb 0%, #fff1d3 48%, #fffaf0 100%);
}

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

.landing::before,
.builder-page::before,
.seo-page::before {
  background-image:
    linear-gradient(45deg, rgba(201, 43, 34, 0.032) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(15, 127, 120, 0.032) 25%, transparent 25%);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.38), transparent 62%);
  opacity: 0.28;
}

.top-nav {
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.94), rgba(255, 246, 225, 0.9)),
    rgba(255, 250, 240, 0.88);
  border: 1px solid rgba(33, 17, 12, 0.1);
  border-radius: 26px;
  box-shadow: 0 18px 45px rgba(62, 30, 14, 0.13);
  gap: 16px;
  padding: 10px 14px;
}

.top-nav::after {
  background: var(--brand-gradient);
  bottom: -7px;
  height: 5px;
  left: 34px;
  right: 34px;
}

.brand-mark {
  min-width: max-content;
}

.brand-label {
  color: #28140e;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.logo-mark {
  background: #fff8e8;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 15px;
  box-shadow: 0 9px 20px rgba(66, 35, 17, 0.14);
  height: 50px;
  object-fit: contain;
  padding: 2px;
  width: 50px;
}

.nav-links {
  gap: 8px;
}

.nav-links a {
  color: #4a2a1d;
}

.nav-ghost,
.nav-cta,
.secondary-button {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(33, 17, 12, 0.1);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.55);
  color: #2c170f;
}

.nav-ghost {
  min-height: 42px;
  padding: 0 15px;
}

.nav-projects-button {
  box-shadow: 0 10px 24px rgba(66, 35, 17, 0.1);
}

.nav-icon {
  background: rgba(201, 43, 34, 0.1);
  color: #b5261d;
}

.language-toggle {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(33, 17, 12, 0.12);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.5);
}

.language-toggle button.active,
.language-toggle a.active {
  background: #21110c;
  box-shadow: 0 6px 14px rgba(33, 17, 12, 0.16);
}

.primary-button,
.nav-cta.primary-button {
  background: linear-gradient(135deg, #d9342a 0%, #a61e17 100%);
  box-shadow: 0 18px 34px rgba(201, 43, 34, 0.23), inset 0 1px rgba(255, 255, 255, 0.28);
  color: #fffaf0;
}

.secondary-button:hover,
.nav-ghost:hover,
.nav-cta:hover {
  background: #fffaf0;
  border-color: rgba(201, 43, 34, 0.28);
}

.section-band,
.feature-section,
.seo-intent-section,
.how-section,
.sample-section,
.physical-shop-section,
.review-section,
.final-cta,
.site-footer,
.builder-shell {
  max-width: 1320px;
}

.hero {
  background:
    radial-gradient(circle at 75% 23%, rgba(247, 183, 51, 0.22), transparent 19rem),
    radial-gradient(circle at 94% 76%, rgba(15, 127, 120, 0.13), transparent 21rem),
    linear-gradient(135deg, rgba(255, 251, 241, 0.98) 0%, rgba(255, 243, 219, 0.86) 100%);
  border: 1px solid rgba(33, 17, 12, 0.08);
  border-radius: 36px;
  box-shadow: 0 38px 95px rgba(66, 35, 17, 0.14);
  grid-template-columns: minmax(0, 0.82fr) minmax(470px, 1.18fr);
  min-height: clamp(600px, calc(100vh - 112px), 760px);
  padding: clamp(28px, 4vw, 54px);
  width: min(100% - 48px, 1560px);
}

.hero::after {
  background: var(--brand-gradient);
  bottom: 22px;
  height: 8px;
  left: clamp(24px, 4vw, 60px);
  opacity: 0.92;
  width: min(360px, calc(100% - 48px));
}

.hero-copy {
  align-self: start;
  max-width: 610px;
}

.eyebrow {
  color: #b5261d;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.hero-brand-line {
  margin-bottom: 8px;
}

.hero-brand-line > span:first-child {
  color: #21110c;
  font-size: clamp(3.45rem, 5.8vw, 6.8rem);
  letter-spacing: -0.035em;
}

.hero-brand-line .maker-word {
  font-size: clamp(2.85rem, 4.7vw, 5.55rem);
  letter-spacing: -0.035em;
}

.hero .seo-home-title {
  color: #32190f;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.72rem, 2.5vw, 2.86rem);
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: 20px;
  max-width: 680px;
}

.hero-sub {
  color: #4f3225;
  font-size: clamp(1rem, 1.24vw, 1.14rem);
  font-weight: 620;
  line-height: 1.52;
  max-width: 560px;
}

.hero-slogan {
  gap: 9px;
  margin: -2px 0 16px;
}

.hero-slogan span {
  border: 0;
  box-shadow: 0 9px 20px rgba(66, 35, 17, 0.14);
  font-size: 0.86rem;
  padding: 9px 13px;
}

.hero-actions {
  gap: 13px;
  margin-top: 20px;
}

.trust-strip {
  gap: 9px;
  margin-top: 28px;
}

.trust-strip span {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(33, 17, 12, 0.08);
  box-shadow: 0 8px 18px rgba(66, 35, 17, 0.06);
  color: #4a2a1d;
  font-size: 0.9rem;
  padding: 9px 13px;
}

.hero-showcase {
  height: min(650px, 62vw);
  min-height: 490px;
  width: min(100%, 900px);
}

.hero-replacement-image {
  max-height: 720px;
  overflow: visible;
  width: min(100%, 900px);
}

.hero-replacement-image img {
  filter: drop-shadow(0 28px 34px rgba(47, 24, 13, 0.16));
  max-height: 100%;
  max-width: 108%;
}

.hero-replacement-image span {
  color: rgba(201, 43, 34, 0.14);
}

.realistic-board {
  background:
    radial-gradient(circle at 18% 10%, rgba(247, 183, 51, 0.22), transparent 18rem),
    #ffecc7;
  border: 1px solid rgba(33, 17, 12, 0.11);
  box-shadow: 0 28px 70px rgba(47, 24, 13, 0.18);
  width: min(80%, 610px);
}

.realistic-board-heading strong {
  color: #c92b22;
  letter-spacing: 0.07em;
}

.realistic-board-heading span {
  color: #2d704d;
}

.realistic-card,
.floating-style-card {
  box-shadow: 0 8px 16px rgba(47, 24, 13, 0.12);
}

.manifesto-section {
  background:
    radial-gradient(circle at 82% 18%, rgba(247, 183, 51, 0.2), transparent 24rem),
    radial-gradient(circle at 16% 82%, rgba(15, 127, 120, 0.25), transparent 24rem),
    linear-gradient(135deg, #203d35 0%, #1f1711 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 36px;
  box-shadow: 0 30px 80px rgba(47, 24, 13, 0.18);
  margin-bottom: 30px;
  max-width: 1320px;
  min-height: 430px;
  padding: clamp(48px, 7vw, 92px) clamp(28px, 5vw, 72px);
  text-align: left;
}

.manifesto-section::before,
.manifesto-section::after {
  display: none;
}

.manifesto-section .eyebrow {
  color: #f7b733;
  margin-top: 0;
}

.manifesto-section h2 {
  color: #fffaf0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.75rem, 6.3vw, 6.8rem);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 0.9;
  max-width: 1080px;
}

.manifesto-art span {
  background: rgba(255, 250, 240, 0.92);
  border: 1px solid rgba(33, 17, 12, 0.18);
  box-shadow: 0 12px 24px rgba(33, 17, 12, 0.2);
}

.scroll-word {
  transition:
    opacity 180ms linear,
    transform 180ms ease,
    filter 180ms ease;
}

.statement-section {
  gap: 22px;
  max-width: 1320px;
  padding-bottom: 76px;
}

.statement-line {
  background: rgba(255, 250, 240, 0.9);
  border: 1px solid rgba(33, 17, 12, 0.08);
  border-radius: 32px;
  box-shadow: 0 20px 58px rgba(66, 35, 17, 0.1);
  min-height: 290px;
  padding: clamp(28px, 4.8vw, 60px);
}

.statement-line:nth-child(2) {
  background:
    radial-gradient(circle at 84% 20%, rgba(247, 183, 51, 0.18), transparent 16rem),
    linear-gradient(135deg, #c92b22, #822118);
}

.statement-line:nth-child(3) {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 250, 240, 0.18), transparent 16rem),
    linear-gradient(135deg, #0f7f78, #24583d);
}

.statement-line h2 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.7rem, 5.9vw, 6.6rem);
  font-weight: 950;
  letter-spacing: -0.06em;
}

.statement-line p {
  font-weight: 780;
}

.statement-media {
  border: 1px solid rgba(33, 17, 12, 0.16);
  border-radius: 26px;
  box-shadow: inset 0 0 0 6px rgba(255, 250, 240, 0.28);
}

.feature-section,
.sample-section,
.physical-shop-section,
.review-section,
.seo-intent-section,
.how-section {
  background: rgba(255, 250, 240, 0.78);
  border: 1px solid rgba(33, 17, 12, 0.08);
  border-radius: 34px;
  box-shadow: 0 20px 55px rgba(66, 35, 17, 0.09);
}

.section-heading {
  max-width: 820px;
}

.section-heading h2,
.final-cta h2,
.builder-panel h2 {
  color: #24130e;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.section-heading p {
  color: #684838;
  font-weight: 620;
}

.feature-grid,
.flow-grid {
  gap: 20px;
}

.feature-card,
.flow-step,
.download-card,
.generator-card,
.sample-card,
.review-card,
.physical-product-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 232, 0.78)),
    rgba(255, 250, 240, 0.8);
  border: 1px solid rgba(33, 17, 12, 0.08);
  border-radius: 26px;
  box-shadow: 0 16px 36px rgba(66, 35, 17, 0.09);
}

.feature-card {
  min-height: 218px;
  padding: 28px;
}

.feature-card::after {
  background: var(--brand-gradient);
  height: 5px;
  opacity: 0.9;
}

.feature-card h3,
.flow-step h3,
.download-card h3,
.generator-card h3,
.physical-product-card strong,
.sample-card h3,
.review-card strong {
  color: #24130e;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.feature-card p,
.flow-step p,
.download-card p,
.sample-card p,
.review-card p,
.physical-product-card p {
  color: #684838;
  font-weight: 620;
}

.marketing-icon,
.feature-icon {
  border: 4px solid rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(66, 35, 17, 0.12);
}

.seo-intent-section {
  background:
    radial-gradient(circle at 18% 18%, rgba(247, 183, 51, 0.14), transparent 22rem),
    linear-gradient(135deg, rgba(255, 250, 240, 0.92), rgba(239, 249, 246, 0.78));
}

.seo-intent-section h2 {
  color: #24130e;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.seo-chip-grid span,
.seo-topic-links a {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(33, 17, 12, 0.08);
  box-shadow: 0 8px 18px rgba(66, 35, 17, 0.06);
}

.how-section {
  background:
    radial-gradient(circle at 86% 16%, rgba(15, 127, 120, 0.12), transparent 20rem),
    rgba(255, 250, 240, 0.72);
}

.flow-step {
  padding-top: 32px;
}

.flow-step::before {
  display: none;
}

.flow-step span {
  background: var(--brand-gradient);
  box-shadow: 0 12px 26px rgba(201, 43, 34, 0.16);
  height: 46px;
  margin-bottom: 20px;
  width: 46px;
}

.sample-section,
.review-section {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.sample-grid,
.review-grid,
.product-carousel-track {
  gap: 20px;
}

.sample-card {
  padding: 16px;
}

.sample-board-mini {
  border: 1px solid rgba(33, 17, 12, 0.14);
  border-radius: 22px;
  box-shadow: inset 0 0 0 8px rgba(255, 250, 240, 0.32);
}

.sample-board-mini span {
  border-color: rgba(33, 17, 12, 0.68);
}

.physical-shop-section {
  background:
    radial-gradient(circle at 18% 18%, rgba(247, 183, 51, 0.2), transparent 23rem),
    linear-gradient(135deg, rgba(255, 250, 240, 0.92), rgba(239, 249, 246, 0.78));
}

.physical-product-photo,
.review-photo {
  border: 1px solid rgba(33, 17, 12, 0.09);
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(66, 35, 17, 0.12);
}

.review-photo {
  aspect-ratio: 1 / 1;
}

.final-cta {
  background:
    radial-gradient(circle at 85% 18%, rgba(247, 183, 51, 0.22), transparent 22rem),
    linear-gradient(135deg, #203d35 0%, #1f1711 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  box-shadow: 0 30px 80px rgba(47, 24, 13, 0.18);
}

.final-cta::before {
  display: none;
}

.final-cta h2 {
  color: #fffaf0;
}

.final-cta .primary-button {
  background: #fffaf0;
  box-shadow: 0 18px 34px rgba(33, 17, 12, 0.18);
  color: #21110c;
}

.site-footer {
  background: rgba(255, 250, 240, 0.64);
  border: 1px solid rgba(33, 17, 12, 0.08);
  border-radius: 28px 28px 0 0;
  margin-top: 20px;
}

.site-footer p,
.site-footer a,
.site-footer button {
  color: #684838;
}

.seo-page .top-nav {
  margin-bottom: 18px;
}

.seo-landing-hero {
  background:
    radial-gradient(circle at 86% 18%, rgba(247, 183, 51, 0.2), transparent 21rem),
    linear-gradient(135deg, rgba(255, 250, 240, 0.96), rgba(239, 249, 246, 0.76));
  border: 1px solid rgba(33, 17, 12, 0.08);
  border-radius: 34px;
  box-shadow: 0 24px 65px rgba(66, 35, 17, 0.11);
}

.seo-landing-hero h1,
.static-seo-page h1 {
  color: #24130e;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 950;
  letter-spacing: -0.055em;
}

.seo-landing-hero p {
  color: #684838;
  font-weight: 620;
}

.seo-hero-image,
.seo-content-grid article,
.seo-faq-grid details,
.seo-related-grid a {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 232, 0.74)),
    rgba(255, 250, 240, 0.82);
  border: 1px solid rgba(33, 17, 12, 0.08);
  border-radius: 26px;
  box-shadow: 0 16px 38px rgba(66, 35, 17, 0.09);
}

.static-seo-page {
  background: var(--paper-gradient);
  color: #24130e;
  min-height: 100vh;
}

.static-seo-page section,
.seo-static-nav {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 248, 232, 0.74)),
    rgba(255, 250, 240, 0.82);
  border: 1px solid rgba(33, 17, 12, 0.08);
  border-radius: 24px;
  box-shadow: 0 16px 38px rgba(66, 35, 17, 0.08);
  padding: 22px;
}

.static-seo-page .seo-hero {
  align-items: center;
  display: grid;
  gap: clamp(22px, 4vw, 44px);
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  padding: clamp(28px, 6vw, 60px);
}

.static-seo-page .seo-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.7rem);
  line-height: 0.9;
  margin: 0 0 16px;
}

.static-seo-page .seo-hero p {
  color: #5f4335;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 720;
  line-height: 1.5;
}

.static-seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.static-seo-hero-image {
  aspect-ratio: 1200 / 630;
  border: 1px solid rgba(33, 17, 12, 0.09);
  border-radius: 28px;
  box-shadow: 0 24px 58px rgba(66, 35, 17, 0.15);
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.builder-page {
  background: var(--paper-gradient);
}

.builder-panel,
.studio-panel,
.project-action-card,
.saved-project-card,
.signin-project-callout,
.account-routing-card,
.admin-detail-card {
  border: 1px solid rgba(33, 17, 12, 0.08);
  box-shadow: 0 18px 45px rgba(66, 35, 17, 0.1);
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1fr);
  }

  .hero-brand-line > span:first-child {
    font-size: clamp(3.8rem, 7vw, 7.2rem);
  }

  .hero-brand-line .maker-word {
    font-size: clamp(3.2rem, 5.8vw, 6rem);
  }
}

@media (max-width: 980px) {
  .static-seo-page .seo-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-showcase {
    height: auto;
    min-height: 0;
  }

  .hero-replacement-image {
    max-height: 560px;
  }
}

@media (max-width: 700px) {
  .static-seo-page {
    padding: 14px;
  }

  .static-seo-page section,
  .seo-static-nav {
    border-radius: 20px;
    padding: 18px;
  }

  .static-seo-actions .primary-button,
  .static-seo-actions .secondary-button {
    width: 100%;
  }

  .top-nav {
    border-radius: 0 0 24px 24px;
    padding: 10px 14px;
  }

  .top-nav::after {
    height: 4px;
  }

  .nav-links {
    background: rgba(255, 250, 240, 0.98);
    border-radius: 20px;
  }

  .logo-mark {
    height: 44px;
    width: 44px;
  }

  .hero {
    border-radius: 26px;
    margin-top: 10px;
    padding: 34px 18px 28px;
    width: calc(100% - 24px);
  }

  .hero::after {
    bottom: 14px;
    height: 5px;
    left: 18px;
    width: calc(100% - 36px);
  }

  .hero-brand-line > span:first-child {
    font-size: clamp(3.4rem, 18vw, 5.3rem);
  }

  .hero-brand-line .maker-word {
    font-size: clamp(2.9rem, 15vw, 4.6rem);
  }

  .hero .seo-home-title {
    font-size: clamp(2.05rem, 10.5vw, 3.2rem);
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-replacement-image {
    max-height: 430px;
  }

  .realistic-board {
    width: min(92%, 430px);
  }

  .manifesto-section {
    border-radius: 28px;
    padding: 54px 20px;
  }

  .manifesto-section h2 {
    font-size: clamp(2.25rem, 12vw, 4rem);
    letter-spacing: -0.045em;
  }

  .statement-line {
    border-radius: 24px;
    padding: 26px 18px;
  }

  .statement-line h2 {
    font-size: clamp(2.25rem, 12vw, 3.85rem);
  }

  .feature-card,
  .flow-step,
  .sample-card,
  .review-card,
  .physical-product-card {
    border-radius: 22px;
  }

  .section-heading h2,
  .final-cta h2,
  .builder-panel h2 {
    letter-spacing: -0.035em;
  }

  .site-footer {
    border-radius: 24px 24px 0 0;
  }
}

/* Complete marketing redesign */
.landing-redesign {
  --lm-dark: #140c08;
  --lm-dark-2: #23120c;
  --lm-cream: #fff4dc;
  --lm-paper: #fffaf0;
  --lm-red: #d33227;
  --lm-red-dark: #8f1d16;
  --lm-teal: #117d76;
  --lm-green: #2f7749;
  --lm-gold: #f4b63f;
  --lm-pink: #d84f78;
  --lm-purple: #493a8c;
  background:
    radial-gradient(circle at 10% 6%, rgba(244, 182, 63, 0.17), transparent 26rem),
    radial-gradient(circle at 95% 10%, rgba(17, 125, 118, 0.2), transparent 28rem),
    linear-gradient(180deg, #160c08 0%, #23120c 44%, #fff4dc 44.05%, #fffaf0 100%);
  color: var(--lm-paper);
}

.landing-redesign::before {
  background-image:
    linear-gradient(45deg, rgba(255, 250, 240, 0.035) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(244, 182, 63, 0.045) 25%, transparent 25%);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 54%);
  opacity: 0.46;
}

.landing-redesign .top-nav {
  background:
    linear-gradient(90deg, rgba(20, 12, 8, 0.9), rgba(35, 18, 12, 0.82)),
    rgba(20, 12, 8, 0.86);
  border: 1px solid rgba(255, 250, 240, 0.14);
  border-radius: 22px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22);
  color: var(--lm-paper);
  max-width: 1320px;
}

.landing-redesign .top-nav::after {
  background: linear-gradient(90deg, var(--lm-red), var(--lm-gold), var(--lm-teal), var(--lm-purple));
  bottom: -6px;
  height: 4px;
}

.landing-redesign .brand-label,
.landing-redesign .nav-links a {
  color: var(--lm-paper);
}

.landing-redesign .logo-mark {
  background: rgba(255, 250, 240, 0.96);
  border-color: rgba(255, 250, 240, 0.9);
}

.landing-redesign .nav-ghost,
.landing-redesign .nav-cta,
.landing-redesign .secondary-button {
  background: rgba(255, 250, 240, 0.09);
  border-color: rgba(255, 250, 240, 0.16);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
  color: var(--lm-paper);
}

.landing-redesign .nav-ghost:hover,
.landing-redesign .nav-cta:hover,
.landing-redesign .secondary-button:hover {
  background: rgba(255, 250, 240, 0.16);
  border-color: rgba(255, 250, 240, 0.28);
  color: var(--lm-paper);
}

.landing-redesign .nav-icon {
  background: rgba(244, 182, 63, 0.16);
  color: #ffd66f;
}

.landing-redesign .language-toggle {
  background: rgba(255, 250, 240, 0.09);
  border-color: rgba(255, 250, 240, 0.18);
}

.landing-redesign .language-toggle button,
.landing-redesign .language-toggle a {
  color: rgba(255, 250, 240, 0.78);
}

.landing-redesign .language-toggle button.active,
.landing-redesign .language-toggle a.active {
  background: var(--lm-paper);
  color: var(--lm-dark);
}

.landing-redesign .primary-button {
  background: linear-gradient(135deg, #e23d31, #a21d15);
  border: 0;
  box-shadow: 0 20px 44px rgba(211, 50, 39, 0.34), inset 0 1px rgba(255, 255, 255, 0.24);
  color: #fffaf0;
}

.lm-hero {
  scroll-margin-top: 126px;
  align-items: center;
  display: grid;
  gap: clamp(28px, 4.5vw, 78px);
  grid-template-columns: minmax(0, 0.78fr) minmax(440px, 1.22fr);
  margin: 0 auto;
  min-height: clamp(600px, calc(100vh - 112px), 740px);
  overflow: hidden;
  padding: clamp(34px, 4.4vw, 60px) clamp(24px, 5vw, 72px) clamp(42px, 4.4vw, 62px);
  position: relative;
  width: min(100% - 32px, 1600px);
  z-index: 2;
}

.lm-hero::before {
  background:
    radial-gradient(circle at 12% 18%, rgba(244, 182, 63, 0.24), transparent 17rem),
    radial-gradient(circle at 84% 36%, rgba(211, 50, 39, 0.18), transparent 23rem),
    linear-gradient(135deg, rgba(255, 250, 240, 0.08), transparent 35%);
  border: 1px solid rgba(255, 250, 240, 0.1);
  border-radius: 44px;
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.lm-hero::after {
  background:
    linear-gradient(135deg, var(--lm-teal) 0 18%, transparent 18% 30%, var(--lm-gold) 30% 50%, transparent 50% 62%, var(--lm-pink) 62% 82%, var(--lm-green) 82%),
    rgba(255, 250, 240, 0.08);
  clip-path: polygon(0 0, 100% 0, 100% 58%, 88% 100%, 76% 58%, 64% 100%, 52% 58%, 40% 100%, 28% 58%, 16% 100%, 4% 58%, 0 100%);
  content: "";
  height: 52px;
  left: clamp(24px, 5vw, 72px);
  opacity: 0.92;
  position: absolute;
  right: clamp(24px, 5vw, 72px);
  top: 0;
}

.lm-hero-copy {
  max-width: 640px;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.lm-kicker {
  color: #ffd66f;
  font-size: clamp(0.95rem, 1.1vw, 1.12rem);
  font-weight: 950;
  letter-spacing: 0.09em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.lm-hero h1 {
  color: var(--lm-paper);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(3.35rem, 6.35vw, 7.85rem);
  font-weight: 980;
  letter-spacing: -0.08em;
  line-height: 0.76;
  margin: 0 0 22px;
  max-width: 760px;
}

.lm-hero h1 span,
.lm-hero h1 em {
  display: block;
}

.lm-hero h1 em {
  color: #ffd66f;
  font-size: clamp(1.8rem, 3vw, 3.45rem);
  font-style: normal;
  letter-spacing: -0.055em;
  line-height: 0.96;
  margin-top: 14px;
}

.lm-hero-sub {
  color: rgba(255, 250, 240, 0.8);
  font-size: clamp(1.05rem, 1.35vw, 1.24rem);
  font-weight: 650;
  line-height: 1.5;
  margin: 0;
  max-width: 580px;
}

.lm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.lm-hero-actions .secondary-button {
  background: rgba(255, 250, 240, 0.9);
  color: var(--lm-dark);
}

.lm-proof-row {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
  max-width: 560px;
}

.lm-proof-row span {
  background: rgba(255, 250, 240, 0.08);
  border: 1px solid rgba(255, 250, 240, 0.12);
  border-radius: 16px;
  color: rgba(255, 250, 240, 0.86);
  font-weight: 900;
  padding: 12px 14px;
}

.lm-hero-stage {
  align-items: center;
  display: grid;
  justify-items: center;
  min-width: 0;
  position: relative;
}

.lm-hero-stage::before {
  background:
    radial-gradient(circle at 40% 40%, rgba(244, 182, 63, 0.3), transparent 15rem),
    radial-gradient(circle at 70% 64%, rgba(17, 125, 118, 0.23), transparent 18rem);
  content: "";
  filter: blur(10px);
  inset: 8% 0 0;
  opacity: 0.75;
  position: absolute;
}

.lm-hero-stage .hero-showcase {
  height: min(680px, 58vw);
  min-height: 500px;
  width: min(100%, 900px);
  z-index: 1;
}

.lm-hero-stage .hero-replacement-image {
  max-height: 760px;
  overflow: visible;
}

.lm-hero-stage .hero-replacement-image img {
  filter: drop-shadow(0 38px 44px rgba(0, 0, 0, 0.34));
  max-width: 112%;
}

.lm-hero-stage .realistic-board {
  border: 0;
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.32);
  width: min(82%, 640px);
}

.lm-marquee {
  background: var(--lm-gold);
  border-bottom: 2px solid rgba(20, 12, 8, 0.8);
  border-top: 2px solid rgba(20, 12, 8, 0.8);
  color: var(--lm-dark);
  margin: 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.lm-marquee div {
  animation: marqueeSlide 34s linear infinite;
  display: flex;
  gap: 34px;
  min-width: max-content;
  padding: 10px 0;
}

.lm-marquee span {
  font-size: clamp(0.92rem, 1.25vw, 1.2rem);
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.lm-marquee span::after {
  color: var(--lm-red-dark);
  content: " *";
  margin-left: 34px;
}

.lm-intro,
.lm-ai-promo,
.lm-process,
.lm-feature-showcase,
.lm-statements,
.lm-gallery,
.lm-print-section,
.lm-reviews,
.landing-redesign .seo-faq-section,
.landing-redesign .seo-related-section,
.lm-final-cta,
.landing-redesign .site-footer {
  margin-left: auto;
  margin-right: auto;
  max-width: 1360px;
  position: relative;
  z-index: 2;
}

.lm-intro {
  align-items: center;
  background: var(--lm-cream);
  color: var(--lm-dark);
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.62fr);
  padding: clamp(70px, 9vw, 132px) clamp(24px, 5vw, 72px);
  overflow: hidden;
}

.lm-intro h2,
.lm-section-head h2,
.lm-statement h2,
.lm-final-cta h2 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 920;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0;
  text-wrap: balance;
}

.lm-intro h2 {
  font-size: clamp(2.9rem, 6.6vw, 7rem);
  max-width: 1000px;
}

.lm-intro-side {
  align-self: stretch;
  display: grid;
  gap: 24px;
  min-width: 0;
}

.lm-intro-side > p {
  color: #614232;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  font-weight: 700;
  line-height: 1.55;
  margin: 0;
}

.lm-memory-collage {
  background:
    radial-gradient(circle at 22% 20%, rgba(211, 50, 39, 0.17), transparent 14rem),
    radial-gradient(circle at 82% 18%, rgba(17, 125, 118, 0.18), transparent 16rem),
    linear-gradient(135deg, #fffaf0, #ffe6b7);
  border: 1px solid rgba(20, 12, 8, 0.1);
  border-radius: 34px;
  box-shadow: 0 24px 58px rgba(67, 34, 17, 0.14);
  min-height: 390px;
  overflow: hidden;
  position: relative;
}

.lm-memory-board {
  aspect-ratio: 5 / 7;
  background: #fff4dc;
  border: 2px solid rgba(20, 12, 8, 0.72);
  border-radius: 22px;
  box-shadow: 0 24px 44px rgba(67, 34, 17, 0.18);
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 30px 16px 18px;
  position: absolute;
  right: 24px;
  top: 28px;
  transform: rotate(2.5deg);
  width: min(56%, 300px);
}

.lm-memory-board::before {
  color: var(--lm-red);
  content: "LOTERIA";
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  font-weight: 950;
  left: 0;
  letter-spacing: 0.08em;
  line-height: 1;
  position: absolute;
  right: 0;
  text-align: center;
  top: 9px;
}

.lm-memory-board span {
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(20, 12, 8, 0.68);
  border-radius: 6px;
  min-height: 0;
}

.lm-memory-card {
  align-items: flex-end;
  aspect-ratio: 2.5 / 3.5;
  background-color: #e6c79b;
  background-position: center;
  background-size: cover;
  border: 7px solid #fffaf0;
  border-radius: 18px;
  box-shadow: 0 22px 42px rgba(67, 34, 17, 0.18);
  display: flex;
  overflow: hidden;
  position: absolute;
  width: min(34%, 176px);
}

.lm-memory-card b {
  background: rgba(255, 244, 220, 0.96);
  border-top: 1px solid rgba(20, 12, 8, 0.7);
  color: var(--lm-dark);
  display: block;
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
  padding: 9px 6px;
  text-align: center;
  width: 100%;
}

.memory-card-1 {
  left: 34px;
  top: 48px;
  transform: rotate(-8deg);
}

.memory-card-2 {
  bottom: 36px;
  left: 22px;
  transform: rotate(5deg);
}

.memory-card-3 {
  bottom: 24px;
  right: 88px;
  transform: rotate(-4deg);
}

.lm-ai-promo {
  scroll-margin-top: 132px;
  align-items: center;
  background:
    radial-gradient(circle at 15% 12%, rgba(244, 182, 63, 0.2), transparent 18rem),
    radial-gradient(circle at 92% 10%, rgba(216, 79, 120, 0.18), transparent 20rem),
    linear-gradient(135deg, #140c08, #253f38);
  color: var(--lm-paper);
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(280px, 0.55fr) minmax(360px, 0.72fr);
  padding: clamp(48px, 6vw, 86px) clamp(24px, 5vw, 72px);
}

.lm-ai-copy h2 {
  color: var(--lm-paper);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.45rem, 5vw, 5.7rem);
  font-weight: 920;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0 0 20px;
  text-wrap: balance;
}

.lm-ai-copy p:not(.lm-kicker) {
  color: rgba(255, 250, 240, 0.78);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 720;
  line-height: 1.52;
  margin: 0;
  max-width: 620px;
}

.lm-ai-copy .primary-button {
  margin-top: 24px;
}

.lm-ai-mock {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(130px, 1fr) auto minmax(130px, 1fr);
  min-width: 0;
}

.lm-ai-card {
  background: #fff4dc;
  border: 2px solid rgba(255, 250, 240, 0.78);
  border-radius: 26px;
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.26);
  overflow: hidden;
  padding: 12px;
  transform: rotate(-3deg);
}

.lm-ai-card span {
  aspect-ratio: 2.5 / 3.5;
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(20, 12, 8, 0.68);
  border-radius: 16px 16px 5px 5px;
  display: block;
}

.lm-ai-card img {
  aspect-ratio: 2.5 / 3.5;
  border: 1px solid rgba(20, 12, 8, 0.68);
  border-radius: 16px 16px 5px 5px;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.lm-ai-card b {
  background: #fff4dc;
  border-top: 1px solid rgba(20, 12, 8, 0.72);
  color: var(--lm-dark);
  display: block;
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  font-weight: 950;
  padding: 12px 8px 4px;
  text-align: center;
}

.lm-ai-after {
  border-color: rgba(255, 214, 111, 0.95);
  transform: rotate(3deg);
}

.lm-ai-arrow {
  align-items: center;
  background: linear-gradient(135deg, var(--lm-gold), var(--lm-pink), var(--lm-teal));
  border: 4px solid rgba(255, 250, 240, 0.9);
  border-radius: 999px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
  color: var(--lm-paper);
  display: flex;
  font-size: 1rem;
  font-weight: 950;
  height: 64px;
  justify-content: center;
  width: 64px;
}

.lm-intro .lm-kicker,
.lm-section-head .lm-kicker,
.landing-redesign .seo-faq-section .eyebrow {
  color: var(--lm-red);
}

.lm-process {
  scroll-margin-top: 132px;
  background:
    radial-gradient(circle at 88% 10%, rgba(17, 125, 118, 0.18), transparent 22rem),
    #fffaf0;
  color: var(--lm-dark);
  padding: clamp(42px, 5vw, 72px) clamp(24px, 5vw, 72px);
}

.lm-process .lm-section-head {
  align-items: end;
  grid-template-columns: minmax(260px, 0.54fr) minmax(0, 0.68fr);
  margin-bottom: 24px;
}

.lm-process .lm-section-head h2 {
  font-size: clamp(2.25rem, 4.1vw, 4.7rem);
}

.lm-process .lm-section-head p:not(.lm-kicker) {
  font-size: 1rem;
  max-width: 460px;
}

.lm-section-head {
  align-items: end;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.42fr);
  margin-bottom: 34px;
}

.lm-section-head.compact {
  display: block;
}

.lm-section-head h2 {
  color: var(--lm-dark);
  font-size: clamp(2.45rem, 5vw, 5.7rem);
}

.lm-section-head p:not(.lm-kicker) {
  color: #614232;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.55;
  margin: 0;
}

.lm-step-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lm-step-card {
  background: #fff4dc;
  border: 1px solid rgba(20, 12, 8, 0.1);
  border-radius: 22px;
  color: var(--lm-dark);
  min-height: 185px;
  padding: 22px;
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.lm-step-card::after {
  background: linear-gradient(90deg, var(--lm-red), var(--lm-gold), var(--lm-teal));
  border-radius: 999px;
  bottom: 18px;
  content: "";
  height: 6px;
  left: 22px;
  position: absolute;
  width: 84px;
}

.lm-step-card:hover,
.lm-feature-tile:hover,
.lm-sample-card:hover {
  box-shadow: 0 22px 45px rgba(67, 34, 17, 0.15);
  transform: translateY(-5px);
}

.lm-step-card > span,
.lm-statement > div > span {
  align-items: center;
  background: rgba(211, 50, 39, 0.1);
  border: 1px solid rgba(211, 50, 39, 0.18);
  border-radius: 999px;
  color: var(--lm-red);
  display: inline-flex;
  font-size: clamp(0.95rem, 1.08vw, 1.08rem);
  font-weight: 980;
  letter-spacing: 0.1em;
  line-height: 1;
  margin-bottom: 20px;
  padding: 8px 12px;
  text-transform: uppercase;
  width: fit-content;
}

.lm-step-card h3,
.lm-feature-tile h3,
.lm-sample-card h3,
.lm-review-card strong {
  color: var(--lm-dark);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 950;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 12px;
}

.lm-step-card h3 {
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
}

.lm-step-card p,
.lm-feature-tile p,
.lm-sample-card p,
.lm-review-card p {
  color: #654738;
  font-weight: 680;
  line-height: 1.52;
  margin: 0;
}

.lm-feature-showcase {
  scroll-margin-top: 132px;
  background:
    linear-gradient(135deg, #f9ead0 0%, #fffaf0 100%);
  color: var(--lm-dark);
  padding: clamp(48px, 6vw, 82px) clamp(24px, 5vw, 72px);
}

.lm-feature-showcase .lm-section-head {
  align-items: center;
  grid-template-areas:
    "kicker title"
    "copy title";
  grid-template-columns: minmax(280px, 0.5fr) minmax(0, 0.78fr);
  margin-bottom: 26px;
}

.lm-feature-showcase .lm-section-head .lm-kicker {
  grid-area: kicker;
}

.lm-feature-showcase .lm-section-head h2 {
  font-size: clamp(2.35rem, 4.4vw, 5.1rem);
  grid-area: title;
}

.lm-feature-showcase .lm-section-head p:not(.lm-kicker) {
  grid-area: copy;
  max-width: 500px;
}

.lm-feature-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lm-feature-tile {
  background: #fffaf0;
  border: 1px solid rgba(20, 12, 8, 0.09);
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(67, 34, 17, 0.08);
  color: var(--lm-dark);
  min-height: 205px;
  padding: 22px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.lm-feature-tile:nth-child(1),
.lm-feature-tile:nth-child(2),
.lm-feature-tile:nth-child(3) {
  grid-column: auto;
}

.lm-feature-tile:nth-child(4),
.lm-feature-tile:nth-child(5),
.lm-feature-tile:nth-child(6) {
  grid-column: auto;
}

.lm-feature-tile .marketing-icon {
  height: 60px;
  width: 60px;
}

.lm-feature-tile .marketing-icon svg {
  height: 32px;
  width: 32px;
}

.lm-statements {
  background: var(--lm-dark);
  border-radius: 34px;
  color: var(--lm-paper);
  display: grid;
  gap: 1px;
  overflow: hidden;
  padding: 1px;
}

.lm-statement {
  align-items: center;
  background: rgba(255, 250, 240, 0.03);
  border-bottom: 0;
  border-radius: 30px;
  display: grid;
  gap: clamp(22px, 3.2vw, 44px);
  grid-template-columns: minmax(250px, 0.34fr) minmax(0, 1fr);
  padding: clamp(28px, 4vw, 56px);
}

.lm-statement:nth-child(even) {
  background: linear-gradient(135deg, rgba(211, 50, 39, 0.18), rgba(244, 182, 63, 0.06));
}

.lm-statement:last-child {
  border-bottom: 0;
}

.lm-statement-media {
  aspect-ratio: 4 / 3;
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: 22px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.26);
  min-height: 210px;
}

.lm-statement h2 {
  color: var(--lm-paper);
  font-size: clamp(2.05rem, 4.1vw, 4.75rem);
  max-width: 820px;
}

.lm-statement p {
  color: rgba(255, 250, 240, 0.78);
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  font-weight: 700;
  line-height: 1.52;
  margin: 18px 0 0;
  max-width: 700px;
}

.lm-gallery,
.lm-reviews,
.landing-redesign .seo-faq-section,
.landing-redesign .seo-related-section {
  background: #fffaf0;
  color: var(--lm-dark);
  padding: clamp(46px, 6vw, 82px) clamp(24px, 5vw, 72px);
}

.lm-gallery,
.lm-print-section {
  scroll-margin-top: 132px;
}

.lm-gallery .lm-section-head,
.lm-reviews .lm-section-head,
.lm-print-section .lm-section-head {
  margin-bottom: 26px;
}

.lm-gallery .lm-section-head h2,
.lm-reviews .lm-section-head h2,
.lm-print-section .lm-section-head h2 {
  font-size: clamp(2.25rem, 4.2vw, 4.9rem);
}

.lm-sample-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.lm-sample-card {
  background: #fff4dc;
  border: 1px solid rgba(20, 12, 8, 0.09);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(67, 34, 17, 0.1);
  overflow: hidden;
  padding: 12px;
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.lm-sample-tag {
  background: var(--lm-dark);
  border: 2px solid rgba(255, 250, 240, 0.88);
  border-radius: 999px;
  color: #fffaf0;
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 950;
  left: 22px;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 8px 10px;
  position: absolute;
  text-transform: uppercase;
  top: 22px;
  z-index: 3;
}

.lm-sample-art {
  aspect-ratio: 5 / 7;
  background:
    radial-gradient(circle at 18% 18%, rgba(244, 182, 63, 0.28), transparent 18rem),
    #ffeac1;
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(20, 12, 8, 0.76);
  border-radius: 18px;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  padding: 14px;
  position: relative;
}

.lm-sample-art::before,
.lm-sample-art::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.lm-sample-art::before {
  border: 2px solid rgba(20, 12, 8, 0.12);
  border-radius: 14px;
  inset: 8px;
}

.lm-sample-art::after {
  background: var(--sample-ribbon, rgba(211, 50, 39, 0.16));
  border-radius: 999px;
  height: 10px;
  left: 50%;
  opacity: 0.85;
  top: 9px;
  transform: translateX(-50%);
  width: 46%;
}

.lm-sample-art.has-custom-image {
  box-shadow: inset 0 -130px 90px rgba(20, 12, 8, 0.52);
}

.lm-sample-art > div {
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 0;
  position: relative;
  z-index: 1;
}

.lm-sample-art span {
  align-items: end;
  aspect-ratio: 2.5 / 3.5;
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(20, 12, 8, 0.72);
  border-radius: 7px;
  box-shadow: 0 3px 0 rgba(20, 12, 8, 0.1);
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.lm-sample-art span i {
  background: rgba(255, 250, 240, 0.94);
  border-top: 1px solid rgba(20, 12, 8, 0.66);
  color: var(--lm-dark);
  display: block;
  font-size: clamp(0.38rem, 0.52vw, 0.55rem);
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  padding: 4px 2px;
  text-align: center;
  width: 100%;
}

.lm-sample-art strong {
  align-self: end;
  background: rgba(255, 250, 240, 0.92);
  border-radius: 999px;
  color: var(--lm-dark);
  display: inline-flex;
  font-weight: 950;
  justify-self: center;
  line-height: 1;
  padding: 10px 13px;
  text-align: center;
  z-index: 1;
}

.sample-theme-1 {
  --sample-ribbon: rgba(216, 79, 120, 0.34);
}

.sample-theme-1 .lm-sample-art {
  background:
    radial-gradient(circle at 16% 14%, rgba(216, 79, 120, 0.2), transparent 11rem),
    radial-gradient(circle at 82% 18%, rgba(17, 125, 118, 0.14), transparent 10rem),
    #fff1df;
}

.sample-theme-2 {
  --sample-ribbon: rgba(17, 125, 118, 0.32);
}

.sample-theme-2 .lm-sample-art {
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.75), rgba(255, 232, 201, 0.9)),
    radial-gradient(circle at 80% 12%, rgba(244, 182, 63, 0.18), transparent 12rem);
}

.sample-theme-3 {
  --sample-ribbon: rgba(244, 182, 63, 0.42);
}

.sample-theme-3 .lm-sample-art {
  background:
    repeating-linear-gradient(135deg, rgba(211, 50, 39, 0.09) 0 14px, transparent 14px 30px),
    #fff0c7;
}

.sample-theme-4 {
  --sample-ribbon: rgba(73, 58, 140, 0.32);
}

.sample-theme-4 .lm-sample-art {
  background:
    linear-gradient(135deg, rgba(17, 125, 118, 0.14), transparent),
    #f8f3df;
}

.sample-theme-5 {
  --sample-ribbon: rgba(211, 50, 39, 0.34);
}

.sample-theme-5 .lm-sample-art {
  background:
    radial-gradient(circle at 22% 18%, rgba(244, 182, 63, 0.22), transparent 9rem),
    radial-gradient(circle at 84% 78%, rgba(17, 125, 118, 0.16), transparent 11rem),
    #ffe9c6;
}

.sample-theme-6 {
  --sample-ribbon: rgba(20, 12, 8, 0.22);
}

.sample-theme-6 .lm-sample-art {
  background:
    linear-gradient(135deg, rgba(17, 125, 118, 0.16), rgba(244, 182, 63, 0.14)),
    #fffaf0;
}

.lm-sample-card h3 {
  margin: 14px 6px 6px;
}

.lm-sample-card p {
  margin: 0 6px 10px;
}

.lm-print-section {
  background:
    radial-gradient(circle at 88% 18%, rgba(244, 182, 63, 0.2), transparent 23rem),
    linear-gradient(135deg, #203d35, #140c08);
  color: var(--lm-paper);
  padding: clamp(46px, 6vw, 82px) clamp(24px, 5vw, 72px);
}

.lm-print-section .lm-section-head h2,
.lm-print-section .lm-section-head p:not(.lm-kicker) {
  color: var(--lm-paper);
}

.lm-print-section .lm-kicker {
  color: #ffd66f;
}

.lm-print-section .physical-product-card {
  background: rgba(255, 250, 240, 0.94);
  border-radius: 22px;
  min-height: 0;
}

.lm-review-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lm-review-card {
  background: #fff4dc;
  border: 1px solid rgba(20, 12, 8, 0.09);
  border-radius: 22px;
  padding: 14px;
}

.lm-review-photo {
  aspect-ratio: 1 / 1;
  background-color: #ffeac1;
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(20, 12, 8, 0.09);
  border-radius: 18px;
  margin-bottom: 14px;
}

.landing-redesign .seo-faq-section .section-heading,
.landing-redesign .seo-related-section .section-heading {
  text-align: left;
}

.landing-redesign .seo-faq-grid details,
.landing-redesign .seo-related-grid a,
.landing-redesign .seo-topic-links a {
  background: #fff4dc;
  border-color: rgba(20, 12, 8, 0.09);
  box-shadow: 0 12px 28px rgba(67, 34, 17, 0.08);
}

.landing-redesign .seo-topic-links {
  justify-content: flex-start;
  max-width: none;
  padding: 0;
}

.lm-final-cta {
  background:
    radial-gradient(circle at 78% 28%, rgba(244, 182, 63, 0.26), transparent 20rem),
    linear-gradient(135deg, #d33227, #8f1d16 52%, #140c08);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--lm-paper);
  max-width: none;
  padding: clamp(70px, 8vw, 118px) clamp(24px, 5vw, 72px);
}

.lm-final-cta h2 {
  font-size: clamp(2.75rem, 6vw, 6.9rem);
  max-width: 980px;
}

.landing-redesign .site-footer {
  background: var(--lm-dark);
  border: 0;
  border-radius: 0;
  color: var(--lm-paper);
  max-width: none;
}

.landing-redesign .site-footer p,
.landing-redesign .site-footer a,
.landing-redesign .site-footer button {
  color: rgba(255, 250, 240, 0.76);
}

@media (max-width: 1180px) {
  .lm-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1fr);
  }

  .lm-step-grid,
  .lm-sample-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .landing-redesign .seo-page-directory,
  .landing-redesign .seo-page-directory.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .lm-hero,
  .lm-intro,
  .lm-ai-promo,
  .lm-section-head,
  .lm-feature-showcase .lm-section-head,
  .lm-statement {
    grid-template-columns: 1fr;
  }

  .lm-feature-showcase .lm-section-head {
    grid-template-areas:
      "kicker"
      "title"
      "copy";
  }

  .lm-hero {
    min-height: 0;
  }

  .lm-hero-stage .hero-showcase {
    height: auto;
    min-height: 0;
  }

  .lm-hero-stage .hero-replacement-image {
    max-height: 560px;
  }

  .lm-memory-collage {
    min-height: 360px;
  }

  .lm-ai-mock {
    grid-template-columns: minmax(140px, 1fr) auto minmax(140px, 1fr);
  }

  .lm-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lm-feature-tile:nth-child(n) {
    grid-column: auto;
  }

  .lm-review-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .landing-redesign {
    background:
      linear-gradient(180deg, #160c08 0%, #23120c 50%, #fff4dc 50.05%, #fffaf0 100%);
  }

  .landing-redesign .top-nav {
    border-radius: 0 0 22px 22px;
    max-width: 100%;
  }

  .landing-redesign .nav-links {
    background: rgba(20, 12, 8, 0.98);
  }

  .lm-hero {
    padding: 68px 18px 40px;
    width: 100%;
  }

  .lm-hero::before {
    border-radius: 0 0 32px 32px;
    inset: 0;
  }

  .lm-hero::after {
    height: 34px;
    left: 18px;
    right: 18px;
  }

  .lm-hero h1 {
    font-size: clamp(3.05rem, 16.5vw, 5rem);
    letter-spacing: -0.075em;
  }

  .lm-hero h1 em {
    font-size: clamp(1.55rem, 8vw, 2.45rem);
  }

  .lm-proof-row,
  .lm-ai-mock,
  .lm-step-grid,
  .lm-feature-grid,
  .lm-sample-grid {
    grid-template-columns: 1fr;
  }

  .lm-ai-card {
    justify-self: center;
    max-width: 260px;
    width: 100%;
  }

  .lm-ai-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .lm-hero-stage .hero-replacement-image {
    max-height: 420px;
  }

  .lm-hero-stage .realistic-board {
    width: min(94%, 430px);
  }

  .lm-intro,
  .lm-ai-promo,
  .lm-process,
  .lm-feature-showcase,
  .lm-gallery,
  .lm-print-section,
  .lm-reviews,
  .landing-redesign .seo-faq-section,
  .landing-redesign .seo-related-section,
  .lm-final-cta {
    padding-left: 18px;
    padding-right: 18px;
  }

  .lm-intro h2,
  .lm-section-head h2,
  .lm-statement h2,
  .lm-final-cta h2 {
    letter-spacing: -0.025em;
    line-height: 1.02;
  }

  .lm-statement {
    padding: 26px 18px;
  }

  .lm-memory-collage {
    border-radius: 26px;
    min-height: 330px;
  }

  .lm-memory-board {
    right: 14px;
    top: 24px;
    width: 58%;
  }

  .lm-memory-card {
    border-width: 5px;
    width: 36%;
  }

  .memory-card-1 {
    left: 16px;
    top: 46px;
  }

  .memory-card-2 {
    bottom: 34px;
    left: 12px;
  }

  .memory-card-3 {
    bottom: 18px;
    right: 52px;
  }

  .lm-statement-media {
    min-height: 190px;
  }

  .lm-marquee div {
    padding: 10px 0;
  }
}

.seo-redesign {
  background:
    radial-gradient(circle at 12% 6%, rgba(244, 182, 63, 0.18), transparent 26rem),
    radial-gradient(circle at 94% 12%, rgba(17, 125, 118, 0.2), transparent 28rem),
    linear-gradient(180deg, #160c08 0%, #23120c 42%, #fff4dc 42.05%, #fffaf0 100%);
  color: #fffaf0;
}

.seo-redesign::before {
  background-image:
    linear-gradient(45deg, rgba(255, 250, 240, 0.035) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(244, 182, 63, 0.045) 25%, transparent 25%);
  background-size: 36px 36px;
  opacity: 0.36;
}

.seo-redesign .top-nav {
  background:
    linear-gradient(90deg, rgba(20, 12, 8, 0.9), rgba(35, 18, 12, 0.82)),
    rgba(20, 12, 8, 0.86);
  border: 1px solid rgba(255, 250, 240, 0.14);
  color: #fffaf0;
  max-width: 1320px;
}

.seo-redesign .top-nav::after {
  background: linear-gradient(90deg, #d33227, #f4b63f, #117d76, #493a8c);
  height: 4px;
}

.seo-redesign .brand-label,
.seo-redesign .nav-links a {
  color: #fffaf0;
}

.seo-redesign .logo-mark {
  background: rgba(255, 250, 240, 0.96);
  border-color: rgba(255, 250, 240, 0.9);
}

.seo-redesign .nav-ghost,
.seo-redesign .nav-cta,
.seo-redesign .secondary-button,
.seo-redesign .language-toggle {
  background: rgba(255, 250, 240, 0.09);
  border-color: rgba(255, 250, 240, 0.16);
  color: #fffaf0;
}

.seo-redesign .language-toggle button,
.seo-redesign .language-toggle a {
  color: rgba(255, 250, 240, 0.78);
}

.seo-redesign .language-toggle button.active,
.seo-redesign .language-toggle a.active {
  background: #fffaf0;
  color: #140c08;
}

.seo-redesign .seo-topic-links {
  max-width: 1280px;
}

.seo-redesign .seo-topic-links a {
  background: rgba(255, 250, 240, 0.1);
  border-color: rgba(255, 250, 240, 0.16);
  color: #fffaf0;
}

.seo-redesign .seo-topic-links a:hover {
  background: #f4b63f;
  color: #140c08;
}

.seo-redesign .seo-landing-hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(244, 182, 63, 0.24), transparent 17rem),
    radial-gradient(circle at 84% 36%, rgba(211, 50, 39, 0.18), transparent 23rem),
    linear-gradient(135deg, rgba(255, 250, 240, 0.08), transparent 35%);
  border: 1px solid rgba(255, 250, 240, 0.1);
  border-radius: 44px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.24);
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.66fr);
  margin-top: 22px;
  max-width: 1360px;
  padding: clamp(48px, 6vw, 86px) clamp(24px, 5vw, 72px);
}

.seo-redesign .seo-landing-hero h1 {
  color: #fffaf0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.9rem, 5.9vw, 6.8rem);
  font-weight: 980;
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.seo-redesign .seo-landing-hero p {
  color: rgba(255, 250, 240, 0.78);
}

.seo-redesign .seo-landing-hero .eyebrow {
  color: #ffd66f;
}

.seo-redesign .seo-price-note {
  background: rgba(255, 250, 240, 0.1);
  border-color: rgba(255, 250, 240, 0.16);
  color: #ffd66f;
}

.seo-redesign .seo-hero-image {
  background: #fff4dc;
  border: 0;
  border-radius: 30px;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.26);
  transform: rotate(2deg);
}

.seo-redesign .seo-hero-image img {
  border: 1px solid rgba(20, 12, 8, 0.12);
}

.seo-redesign .seo-content-grid,
.seo-redesign .seo-steps-section,
.seo-redesign .seo-faq-section,
.seo-redesign .seo-related-section {
  background: #fffaf0;
  color: #140c08;
  max-width: 1360px;
  padding: clamp(44px, 6vw, 78px) clamp(24px, 5vw, 72px);
}

.seo-redesign .seo-content-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.seo-redesign .seo-content-grid article,
.seo-redesign .flow-step,
.seo-redesign .seo-faq-grid details,
.seo-redesign .seo-related-grid a {
  background: #fff4dc;
  border: 1px solid rgba(20, 12, 8, 0.09);
  border-radius: 28px;
  box-shadow: 0 14px 32px rgba(67, 34, 17, 0.08);
}

.seo-redesign .section-heading h2,
.seo-redesign .seo-content-grid h2,
.seo-redesign .seo-faq-section h2,
.seo-redesign .seo-steps-section h2,
.seo-redesign .seo-related-section h2 {
  color: #140c08;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 980;
  letter-spacing: -0.055em;
}

.seo-redesign .section-heading p,
.seo-redesign .seo-content-grid ul,
.seo-redesign .seo-faq-grid p,
.seo-redesign .seo-related-grid span {
  color: #654738;
}

.seo-redesign .final-cta {
  background:
    radial-gradient(circle at 78% 28%, rgba(244, 182, 63, 0.26), transparent 20rem),
    linear-gradient(135deg, #d33227, #8f1d16 52%, #140c08);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #fffaf0;
  max-width: none;
}

.seo-redesign .site-footer {
  background: #140c08;
  border: 0;
  border-radius: 0;
  color: #fffaf0;
  max-width: none;
}

@media (max-width: 980px) {
  .seo-redesign .seo-landing-hero,
  .seo-redesign .seo-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .seo-redesign .top-nav {
    background: rgba(20, 12, 8, 0.98);
  }

  .seo-redesign .nav-links {
    background: rgba(20, 12, 8, 0.98);
  }

  .seo-redesign .seo-landing-hero {
    border-radius: 0 0 32px 32px;
    margin-top: 0;
  }

  .seo-redesign .seo-landing-hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.65rem);
  }
}

/* Premium editorial builder studio */
.builder-page {
  --studio-bg: #f8f1e5;
  --studio-canvas: #fffaf0;
  --studio-surface: rgba(255, 252, 244, 0.86);
  --studio-surface-strong: rgba(255, 250, 240, 0.96);
  --studio-ink: #17100c;
  --studio-muted: #6b5a4f;
  --studio-soft: #9b8879;
  --studio-red: #b6241b;
  --studio-red-dark: #7d1712;
  --studio-green: #1f6f4c;
  --studio-gold: #d79a29;
  --studio-line: rgba(23, 16, 12, 0.11);
  --studio-line-strong: rgba(23, 16, 12, 0.18);
  --studio-shadow: 0 28px 80px rgba(50, 31, 20, 0.13);
  --studio-soft-shadow: 0 14px 36px rgba(50, 31, 20, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.2), rgba(255, 250, 240, 0.82)),
    repeating-linear-gradient(135deg, rgba(23, 16, 12, 0.025) 0 1px, transparent 1px 14px),
    var(--studio-bg);
  color: var(--studio-ink);
}

.builder-page::before {
  background-image:
    linear-gradient(90deg, rgba(23, 16, 12, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 16, 12, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.42), transparent 66%);
  opacity: 0.34;
}

.builder-page .top-nav {
  background: rgba(255, 250, 240, 0.88);
  border: 1px solid var(--studio-line);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(42, 25, 16, 0.12);
  padding: 10px 12px;
}

.builder-page .top-nav::after {
  background: linear-gradient(90deg, var(--studio-red), var(--studio-gold), var(--studio-green));
  bottom: -6px;
  height: 3px;
  left: 44px;
  right: 44px;
}

.builder-page .brand-label,
.builder-page .nav-links a,
.builder-page .nav-ghost,
.builder-page .secondary-button {
  color: var(--studio-ink);
}

.builder-page .nav-ghost,
.builder-page .nav-cta,
.builder-page .secondary-button {
  background: rgba(255, 250, 240, 0.7);
  border: 1px solid var(--studio-line);
  box-shadow: none;
}

.builder-page .primary-button,
.builder-page .nav-cta.primary-button {
  background: var(--studio-red);
  border: 1px solid rgba(125, 23, 18, 0.24);
  box-shadow: 0 14px 30px rgba(182, 36, 27, 0.2);
  color: #fffaf0;
}

.builder-page .primary-button:hover,
.builder-page .secondary-button:hover,
.builder-page .nav-ghost:hover,
.builder-page .nav-cta:hover {
  border-color: rgba(182, 36, 27, 0.28);
  box-shadow: 0 18px 36px rgba(50, 31, 20, 0.12);
  transform: translateY(-1px);
}

.builder-page .secondary-button:hover,
.builder-page .nav-ghost:hover,
.builder-page .nav-cta:not(.primary-button):hover {
  background: rgba(255, 250, 240, 0.96);
}

.builder-page .danger-button,
.builder-page .danger-link {
  background: rgba(182, 36, 27, 0.08);
  border-color: rgba(182, 36, 27, 0.18);
  color: var(--studio-red) !important;
}

.builder-page .builder-shell {
  max-width: 1720px;
  padding: 18px clamp(18px, 2.4vw, 34px) 54px;
}

.builder-page .builder-status-strip {
  background: transparent;
  border: 0;
  box-shadow: none;
  display: flex;
  justify-content: flex-end;
  margin: 0 0 10px;
  padding: 0;
}

.builder-page .builder-status-strip span,
.builder-page .save-status,
.builder-page .success-badge,
.builder-page .warning-badge,
.builder-page .upload-count,
.builder-page .busy-banner {
  background: rgba(255, 250, 240, 0.78);
  border: 1px solid var(--studio-line);
  border-radius: 999px;
  box-shadow: none;
  color: var(--studio-muted);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.01em;
  padding: 8px 11px;
}

.builder-page .small-button,
.builder-page .builder-status-strip .small-button {
  background: rgba(255, 250, 240, 0.72);
  border: 1px solid var(--studio-line);
  border-radius: 999px;
  box-shadow: none;
  color: var(--studio-ink);
  font-size: 0.82rem;
  font-weight: 820;
  min-height: 36px;
  padding: 0 14px;
}

.builder-page .builder-intro {
  align-items: end;
  gap: clamp(16px, 3vw, 42px);
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.52fr);
  margin: 8px 0 16px;
}

.builder-page .builder-intro .eyebrow,
.builder-page .studio-panel-header .eyebrow {
  color: var(--studio-red);
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.builder-page .builder-intro h1 {
  color: var(--studio-ink);
  font-size: clamp(2.55rem, 4.2vw, 5.35rem);
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.builder-page .builder-intro p:last-child {
  color: var(--studio-muted);
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  font-weight: 620;
  line-height: 1.5;
  max-width: 560px;
}

.builder-page .stepper {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.82), rgba(255, 250, 240, 0.58)),
    rgba(255, 250, 240, 0.74);
  border: 1px solid var(--studio-line);
  border-radius: 24px;
  box-shadow: var(--studio-soft-shadow);
  gap: 4px;
  margin-bottom: 18px;
  overflow: hidden;
  padding: 6px;
  position: relative;
}

.builder-page .stepper::before {
  background: linear-gradient(90deg, transparent, rgba(23, 16, 12, 0.14), transparent);
  content: "";
  height: 1px;
  left: 9%;
  position: absolute;
  right: 9%;
  top: 50%;
}

.builder-page .step-pill {
  border-radius: 18px;
  color: var(--studio-muted);
  gap: 8px;
  min-height: 42px;
  padding: 5px 8px;
  position: relative;
  z-index: 1;
}

.builder-page .step-pill span {
  background: var(--studio-canvas);
  border: 1px solid var(--studio-line);
  color: var(--studio-muted);
  font-size: 0.8rem;
  height: 28px;
  width: 28px;
}

.builder-page .step-pill small {
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.01em;
}

.builder-page .step-pill.active {
  background: var(--studio-ink);
  box-shadow: 0 14px 28px rgba(23, 16, 12, 0.18);
  color: #fffaf0;
}

.builder-page .step-pill.active span {
  background: #fffaf0;
  border-color: #fffaf0;
  color: var(--studio-red);
}

.builder-page .step-pill.complete:not(.active) {
  color: var(--studio-green);
}

.builder-page .step-pill.complete:not(.active) span {
  background: rgba(31, 111, 76, 0.1);
  border-color: rgba(31, 111, 76, 0.18);
  color: var(--studio-green);
}

.builder-page .builder-panel,
.builder-page .studio-panel {
  background:
    linear-gradient(180deg, rgba(255, 252, 244, 0.94), rgba(255, 248, 236, 0.82)),
    var(--studio-surface);
  border: 1px solid var(--studio-line);
  border-radius: 32px;
  box-shadow: var(--studio-shadow);
}

.builder-page .studio-panel {
  overflow: hidden;
  padding: 0;
}

.builder-page .studio-panel-header {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 252, 244, 0.98), rgba(247, 239, 224, 0.82)),
    var(--studio-canvas);
  border-bottom: 1px solid var(--studio-line);
  padding: 22px clamp(22px, 2.2vw, 36px);
}

.builder-page .studio-panel-header h2 {
  color: var(--studio-ink);
  font-size: clamp(1.85rem, 2.7vw, 3.15rem);
  letter-spacing: -0.035em;
  line-height: 0.96;
  word-spacing: 0.05em;
}

.builder-page .studio-panel-header .soft-copy {
  color: var(--studio-muted);
  font-size: 0.94rem;
  font-weight: 610;
  line-height: 1.48;
  max-width: 760px;
}

.builder-page .builder-studio-layout {
  background:
    linear-gradient(90deg, rgba(23, 16, 12, 0.035), transparent 1px, transparent calc(100% - 1px), rgba(23, 16, 12, 0.035)),
    rgba(255, 250, 240, 0.28);
  grid-template-columns: minmax(260px, 300px) minmax(560px, 1fr) minmax(260px, 310px);
  min-height: min(760px, calc(100vh - 250px));
}

.builder-page .studio-sidebar {
  gap: 12px;
  padding: 18px;
}

.builder-page .studio-settings {
  background:
    linear-gradient(180deg, rgba(255, 252, 244, 0.74), rgba(248, 241, 229, 0.58)),
    rgba(255, 250, 240, 0.5);
  border-right: 1px solid var(--studio-line);
}

.builder-page .studio-guidance {
  background:
    linear-gradient(180deg, rgba(255, 252, 244, 0.86), rgba(248, 241, 229, 0.66)),
    rgba(255, 250, 240, 0.54);
  border-left: 1px solid var(--studio-line);
  position: sticky;
  top: 102px;
}

.builder-page .studio-main {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.44), rgba(255, 250, 240, 0.72)),
    repeating-linear-gradient(135deg, rgba(23, 16, 12, 0.018) 0 1px, transparent 1px 18px);
  gap: 18px;
  padding: clamp(18px, 2.2vw, 30px);
}

.builder-page .studio-action-card,
.builder-page .download-card,
.builder-page .generator-card,
.builder-page .template-section-card,
.builder-page .text-style-card,
.builder-page .design-control-card,
.builder-page .label-style-panel,
.builder-page .photo-edit,
.builder-page .upload-progress-card,
.builder-page .cards-main-head,
.builder-page .ai-glow-panel {
  background: var(--studio-surface-strong);
  border: 1px solid var(--studio-line);
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(50, 31, 20, 0.06);
}

.builder-page .studio-action-card {
  gap: 8px;
  padding: 15px;
}

.builder-page .studio-action-card.success {
  background: linear-gradient(135deg, rgba(31, 111, 76, 0.1), rgba(255, 250, 240, 0.92));
  border-color: rgba(31, 111, 76, 0.16);
}

.builder-page .studio-action-card.warning {
  background: linear-gradient(135deg, rgba(182, 36, 27, 0.09), rgba(255, 250, 240, 0.92));
  border-color: rgba(182, 36, 27, 0.18);
}

.builder-page .studio-action-card strong,
.builder-page .project-start-card h3,
.builder-page .cards-main-head strong,
.builder-page .feature-card h3,
.builder-page .generator-card h3,
.builder-page .download-card h3 {
  color: var(--studio-ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.builder-page .studio-action-card p,
.builder-page .soft-copy,
.builder-page .studio-settings .soft-copy,
.builder-page .studio-guidance .soft-copy,
.builder-page .cards-main-head p,
.builder-page .project-start-card > p {
  color: var(--studio-muted);
  font-weight: 610;
}

.builder-page .studio-stat-grid span {
  color: var(--studio-red);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.builder-page label span,
.builder-page .control-label {
  color: var(--studio-muted);
  font-size: 0.77rem;
  font-weight: 780;
  letter-spacing: 0.02em;
}

.builder-page input,
.builder-page select,
.builder-page textarea,
.builder-page .template-select-label select,
.builder-page .color-inline,
.builder-page .weight-picker,
.builder-page .alignment-picker {
  background: rgba(255, 250, 240, 0.9);
  border: 1px solid var(--studio-line);
  border-radius: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
  color: var(--studio-ink);
}

.builder-page input,
.builder-page select,
.builder-page textarea {
  font-size: 0.92rem;
  min-height: 42px;
  padding: 0 12px;
}

.builder-page textarea {
  min-height: 84px;
  padding: 11px 12px;
}

.builder-page input:focus,
.builder-page select:focus,
.builder-page textarea:focus {
  border-color: rgba(31, 111, 76, 0.42);
  box-shadow: 0 0 0 4px rgba(31, 111, 76, 0.11);
  outline: 0;
}

.builder-page .project-start-card {
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.94), rgba(241, 234, 219, 0.76)),
    var(--studio-canvas);
  border: 1px solid var(--studio-line);
  border-radius: 26px;
  box-shadow: none;
  min-height: 260px;
  padding: clamp(22px, 3vw, 38px);
}

.builder-page .project-start-card .logo-mark {
  height: 42px;
  width: 42px;
}

.builder-page .project-start-card h3 {
  font-size: clamp(2rem, 4vw, 4.5rem);
  letter-spacing: -0.07em;
}

.builder-page .project-access-callout {
  background: rgba(255, 250, 240, 0.74);
  border: 1px solid var(--studio-line);
  border-radius: 20px;
  padding: 14px;
}

.builder-page .drop-zone {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.86), rgba(255, 250, 240, 0.64)),
    repeating-linear-gradient(135deg, rgba(23, 16, 12, 0.025) 0 1px, transparent 1px 12px);
  border: 1.5px dashed rgba(182, 36, 27, 0.28);
  border-radius: 22px;
  box-shadow: none;
}

.builder-page .studio-settings .drop-zone {
  min-height: 152px;
  padding: 14px;
}

.builder-page .drop-art {
  background:
    linear-gradient(135deg, var(--studio-red) 0 48%, var(--studio-gold) 48% 68%, var(--studio-green) 68%),
    var(--studio-red);
  border: 4px solid rgba(255, 250, 240, 0.96);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(50, 31, 20, 0.12);
  height: 50px;
  margin-bottom: 10px;
  width: 72px;
}

.builder-page .drop-art::before,
.builder-page .drop-art::after {
  height: 14px;
  width: 14px;
}

.builder-page .cards-main {
  gap: 18px;
}

.builder-page .cards-main-head {
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.96), rgba(243, 236, 222, 0.74));
  padding: 16px 18px;
}

.builder-page .cards-main-head span {
  background: var(--studio-ink);
  box-shadow: none;
  color: #fffaf0;
}

.builder-page .card-grid {
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
}

.builder-page .card-editor {
  background: rgba(255, 252, 244, 0.9);
  border: 1px solid var(--studio-line);
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(50, 31, 20, 0.08);
  gap: 11px;
  padding: 14px;
}

.builder-page .card-preview,
.builder-page .card-preview-canvas {
  border-color: rgba(255, 250, 240, 0.98);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(50, 31, 20, 0.13);
}

.builder-page .card-tools,
.builder-page .crop-toggle,
.builder-page .secondary-downloads {
  gap: 6px;
}

.builder-page .card-tools button,
.builder-page .crop-toggle button,
.builder-page .secondary-downloads button {
  background: rgba(255, 250, 240, 0.86);
  border: 1px solid var(--studio-line);
  border-radius: 999px;
  color: var(--studio-muted);
  font-size: 0.75rem;
  font-weight: 780;
}

.builder-page .crop-toggle {
  background: rgba(23, 16, 12, 0.06);
}

.builder-page .crop-toggle button.active {
  background: var(--studio-ink);
  color: #fffaf0;
}

.builder-page .ai-glow-panel {
  overflow: hidden;
}

.builder-page .cards-studio-panel .ai-glow-panel {
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 220, 104, 0.28), transparent 30%),
    radial-gradient(circle at 92% 88%, rgba(27, 116, 97, 0.14), transparent 35%),
    linear-gradient(135deg, #fff7df, #fffdf7 52%, #f1fbf5);
  border-color: rgba(77, 45, 28, 0.12);
  color: var(--studio-ink);
}

.builder-page .cards-studio-panel .ai-glow-copy h3,
.builder-page .cards-studio-panel .ai-glow-copy p,
.builder-page .cards-studio-panel .ai-glow-kicker {
  color: var(--studio-ink);
}

.builder-page .cards-studio-panel .ai-glow-copy p {
  opacity: 1;
}

.builder-page .ai-token-pill {
  background: rgba(255, 253, 247, 0.9);
  border: 1px solid rgba(77, 45, 28, 0.12);
  color: var(--studio-ink);
}

.builder-page .ai-card-tools {
  gap: 8px;
}

.builder-page .sparkle-button {
  background: linear-gradient(135deg, var(--studio-red), #1b7461);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(182, 36, 27, 0.16);
  color: #fffaf0;
  font-weight: 860;
}

.builder-page .template-section-card,
.builder-page .text-style-card,
.builder-page .design-control-card {
  padding: 12px;
}

.builder-page .template-section-card summary,
.builder-page .text-style-card summary,
.builder-page .design-control-card summary {
  border-radius: 14px;
}

.builder-page .text-style-icon {
  background: var(--studio-ink);
  border-radius: 10px;
}

.builder-page .template-current-preview,
.builder-page .conditional-background-controls,
.builder-page .font-live-preview {
  background: rgba(255, 250, 240, 0.72);
  border: 1px solid var(--studio-line);
  border-radius: 16px;
}

.builder-page .designer-preview,
.builder-page .single-board-preview-panel {
  align-content: start;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.7), rgba(244, 237, 224, 0.62));
  border: 1px solid var(--studio-line);
  border-radius: 28px;
  display: grid;
  gap: 14px;
  justify-items: center;
  min-height: 560px;
  padding: clamp(16px, 2vw, 28px);
}

.builder-page .canvas-board-preview {
  background: rgba(255, 250, 240, 0.94);
  border: 1px solid var(--studio-line);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(50, 31, 20, 0.14);
  padding: 10px;
}

.builder-page .empty-gallery,
.builder-page .cards-empty-state {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.82), rgba(248, 241, 229, 0.72));
  border: 1px dashed rgba(23, 16, 12, 0.18);
  border-radius: 24px;
  box-shadow: none;
}

.builder-page .mixing-bar,
.builder-page .upload-progress-track {
  background: rgba(23, 16, 12, 0.08);
  height: 7px;
}

.builder-page .mixing-bar span,
.builder-page .upload-progress-track i {
  background: linear-gradient(90deg, var(--studio-red), var(--studio-gold), var(--studio-green));
}

@media (max-width: 1320px) {
  .builder-page .builder-studio-layout {
    grid-template-columns: minmax(240px, 280px) minmax(480px, 1fr) minmax(240px, 280px);
  }

  .builder-page .studio-sidebar {
    padding: 14px;
  }

  .builder-page .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  }

  .builder-page .cards-studio-panel .ai-glow-panel {
    grid-template-columns: minmax(240px, 1fr) minmax(190px, auto);
  }

  .builder-page .cards-studio-panel .ai-glow-controls {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .builder-page .cards-studio-panel .ai-main-cta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1080px) {
  .builder-page .builder-intro,
  .builder-page .builder-studio-layout {
    grid-template-columns: 1fr;
  }

  .builder-page .studio-settings,
  .builder-page .studio-guidance {
    border-left: 0;
    border-right: 0;
    position: static;
  }

  .builder-page .studio-settings {
    border-bottom: 1px solid var(--studio-line);
  }

  .builder-page .studio-guidance {
    border-top: 1px solid var(--studio-line);
  }

  .builder-page .studio-sidebar,
  .builder-page .studio-main {
    padding: 18px;
  }

  .builder-page .cards-sidebar,
  .builder-page .generator-sidebar {
    position: static;
  }

  .builder-page .stepper {
    overflow-x: auto;
    grid-template-columns: repeat(5, minmax(160px, 1fr));
  }
}

@media (max-width: 760px) {
  .builder-page .cards-studio-panel .ai-glow-panel,
  .builder-page .cards-studio-panel .ai-glow-controls {
    grid-template-columns: 1fr;
  }

  .builder-page .cards-studio-panel .ai-glow-demo {
    order: -1;
  }
}

@media (max-width: 700px) {
  .builder-page .top-nav {
    border-radius: 0 0 22px 22px;
    margin-top: 0;
  }

  .builder-page .builder-shell {
    padding: 14px 12px 42px;
  }

  .builder-page .builder-intro {
    margin-top: 14px;
  }

  .builder-page .builder-intro h1 {
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

  .builder-page .stepper {
    border-radius: 18px;
    margin-left: -2px;
    margin-right: -2px;
    padding: 5px;
  }

  .builder-page .step-pill {
    justify-content: start;
    min-height: 40px;
  }

  .builder-page .studio-panel,
  .builder-page .builder-panel {
    border-radius: 24px;
  }

  .builder-page .studio-panel-header {
    align-items: start;
    display: grid;
    padding: 20px;
  }

  .builder-page .studio-panel-header h2 {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  .builder-page .studio-sidebar,
  .builder-page .studio-main {
    padding: 14px;
  }

  .builder-page .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .builder-page .designer-preview,
  .builder-page .single-board-preview-panel {
    min-height: 420px;
    padding: 12px;
  }

  .builder-page .studio-action-row {
    position: static;
  }
}

/* Support-first admin cockpit */
.admin-page {
  --admin-ink: #17100c;
  --admin-muted: #6b5a4f;
  --admin-red: #b6241b;
  --admin-green: #1f6f4c;
  --admin-gold: #d79a29;
  --admin-line: rgba(23, 16, 12, 0.11);
  --admin-surface: rgba(255, 250, 240, 0.88);
}

.admin-page .admin-shell {
  max-width: 1740px;
}

.admin-hero-panel,
.admin-cockpit,
.admin-command-card,
.admin-context-card,
.admin-card-table,
.admin-background-tile {
  background:
    linear-gradient(180deg, rgba(255, 252, 244, 0.96), rgba(255, 248, 236, 0.82)),
    var(--admin-surface);
  border: 1px solid var(--admin-line);
  border-radius: 28px;
  box-shadow: 0 22px 58px rgba(50, 31, 20, 0.1);
}

.admin-hero-panel {
  align-items: end;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 18px 0;
  padding: clamp(22px, 3vw, 38px);
}

.admin-hero-panel h2 {
  color: var(--admin-ink);
  font-size: clamp(2.35rem, 4vw, 5.25rem);
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin: 0;
  word-spacing: 0.08em;
}

.admin-quick-actions,
.admin-filter-bar,
.inline-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-quick-actions {
  justify-content: end;
}

.admin-cockpit {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2.4vw, 32px);
}

.admin-page .admin-cockpit-summary {
  grid-template-columns: repeat(8, minmax(120px, 1fr));
}

.admin-health-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
}

.admin-health-card {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.9), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 246, 0.9));
  border: 1px solid var(--admin-line);
  border-top: 5px solid var(--loteria-blue, #20aeea);
  border-radius: 24px;
  box-shadow: 0 16px 34px rgba(24, 16, 10, 0.07);
  color: var(--admin-ink);
  cursor: pointer;
  display: grid;
  gap: 14px;
  padding: 16px;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.admin-health-card:hover {
  box-shadow: 0 20px 42px rgba(24, 16, 10, 0.1);
  transform: translateY(-2px);
}

.admin-health-card.green { border-top-color: var(--loteria-green, #1f9d58); }
.admin-health-card.blue { border-top-color: var(--loteria-blue, #20aeea); }
.admin-health-card.gold { border-top-color: var(--loteria-yellow, #f7bf2d); }
.admin-health-card.purple { border-top-color: var(--loteria-purple, #6b4bd8); }
.admin-health-card.teal { border-top-color: #11a7a0; }
.admin-health-card.red { border-top-color: var(--loteria-red, #d5251f); }

.admin-health-card > strong {
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.admin-health-card > div {
  display: grid;
  gap: 8px;
}

.admin-health-card > div span {
  align-items: center;
  background: rgba(23, 16, 12, 0.045);
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  padding: 9px 10px;
}

.admin-health-card em {
  color: var(--admin-muted);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 850;
}

.admin-health-card b {
  color: var(--admin-ink);
  font-size: 0.96rem;
  font-weight: 950;
}

.admin-page .admin-summary-grid article {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.9), rgba(255, 250, 240, 0.66)),
    #fffaf0;
  border: 1px solid var(--admin-line);
  box-shadow: none;
}

.admin-page .admin-tabs {
  background: rgba(255, 250, 240, 0.72);
  border-color: var(--admin-line);
  border-radius: 22px;
}

.admin-page .admin-tabs button.active,
.admin-page .admin-tabs button:hover {
  background: var(--admin-ink);
  color: #fffaf0;
}

.admin-message {
  border-radius: 18px;
  margin: 0;
}

.admin-dashboard-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.admin-command-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.admin-command-card h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  letter-spacing: -0.04em;
  margin: 0;
}

.admin-command-list,
.admin-feed-list,
.admin-context-stack,
.admin-mini-feed,
.admin-related-list {
  display: grid;
  gap: 10px;
}

.admin-command-list button,
.admin-feed-list button,
.admin-context-stack button,
.admin-related-item {
  background: rgba(255, 250, 240, 0.86);
  border: 1px solid var(--admin-line);
  border-radius: 18px;
  color: var(--admin-ink);
  cursor: pointer;
  padding: 13px;
  text-align: left;
  transition: border 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.admin-command-list button:hover,
.admin-feed-list button:hover,
.admin-context-stack button:hover,
.admin-related-item:hover {
  border-color: rgba(182, 36, 27, 0.24);
  box-shadow: 0 12px 28px rgba(50, 31, 20, 0.1);
  transform: translateY(-1px);
}

.admin-feed-list strong,
.admin-context-stack strong,
.admin-related-item strong {
  display: block;
  font-size: 0.94rem;
}

.admin-feed-list span,
.admin-context-stack span,
.admin-related-item small {
  color: var(--admin-muted);
  display: block;
  font-size: 0.82rem;
  font-weight: 720;
  margin-top: 3px;
}

.admin-filter-bar {
  background: rgba(255, 250, 240, 0.76);
  border: 1px solid var(--admin-line);
  border-radius: 22px;
  padding: 10px;
}

.admin-filter-bar input,
.admin-filter-bar select {
  flex: 1 1 210px;
  min-width: 0;
}

.admin-page .admin-workspace {
  align-items: start;
  display: grid;
  gap: 18px;
}

.admin-page .support-workspace {
  grid-template-columns: minmax(260px, 0.82fr) minmax(340px, 1fr) minmax(290px, 0.82fr);
}

.admin-page .project-inspector-workspace {
  grid-template-columns: minmax(300px, 0.42fr) minmax(520px, 1fr);
}

.admin-page .ai-admin-workspace {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
}

.admin-page .ai-admin-workspace .admin-code-card {
  align-items: start;
  grid-template-columns: 1fr;
}

.admin-page .ai-admin-workspace textarea {
  width: 100%;
}

.admin-page .admin-list-panel,
.admin-page .admin-manager-card,
.admin-page .admin-detail-card,
.admin-page .admin-code-card,
.admin-context-card {
  background:
    linear-gradient(180deg, rgba(255, 252, 244, 0.94), rgba(255, 248, 236, 0.78)),
    #fffaf0;
  border: 1px solid var(--admin-line);
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(50, 31, 20, 0.08);
}

.admin-context-card {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.admin-support-metrics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-support-metrics article,
.admin-row-metrics span {
  background: rgba(31, 111, 76, 0.07);
  border: 1px solid rgba(31, 111, 76, 0.12);
  border-radius: 16px;
  padding: 11px;
}

.admin-support-metrics span,
.admin-row-metrics span {
  color: var(--admin-muted);
  display: block;
  font-size: 0.72rem;
  font-weight: 860;
}

.admin-support-metrics strong {
  display: block;
  font-size: 1.05rem;
  margin-top: 3px;
}

.admin-related-item {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.admin-related-item em,
.status-badge {
  background: rgba(31, 111, 76, 0.1);
  border: 1px solid rgba(31, 111, 76, 0.16);
  border-radius: 999px;
  color: var(--admin-green);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  padding: 6px 9px;
  text-transform: uppercase;
}

.status-badge.paused,
.status-badge.expired,
.status-badge.used {
  background: rgba(182, 36, 27, 0.08);
  border-color: rgba(182, 36, 27, 0.18);
  color: var(--admin-red);
}

.admin-card-table {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.admin-code-row,
.admin-ledger-row {
  align-items: center;
  background: rgba(255, 250, 240, 0.84);
  border: 1px solid var(--admin-line);
  border-radius: 20px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1.1fr) minmax(300px, 1.3fr) auto;
  padding: 14px;
}

.admin-ledger-row {
  grid-template-columns: minmax(180px, 1.2fr) repeat(4, minmax(110px, 0.8fr));
}

.admin-code-row h3 {
  font-size: 1.2rem;
  margin: 7px 0 0;
}

.admin-code-row p,
.admin-ledger-row span {
  color: var(--admin-muted);
  font-weight: 720;
  margin: 0;
}

.admin-row-metrics {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.access-code-composer {
  grid-template-columns: minmax(260px, 1.4fr) repeat(auto-fit, minmax(150px, 0.8fr));
}

.access-code-composer .primary-button {
  min-width: 180px;
}

.admin-background-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.admin-background-tile {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.admin-background-tile > span {
  background-color: #fff4dc;
  background-position: center;
  background-size: cover;
  border: 1px solid var(--admin-line);
  border-radius: 18px;
  display: block;
  min-height: 180px;
}

.admin-background-tile button {
  background: rgba(182, 36, 27, 0.08);
  border: 1px solid rgba(182, 36, 27, 0.18);
  border-radius: 999px;
  color: var(--admin-red);
  font-weight: 850;
  min-height: 38px;
}

.admin-page .admin-deck-card {
  grid-template-columns: 78px minmax(0, 1fr) auto;
}

.admin-page .admin-deck-card em {
  background: rgba(215, 154, 41, 0.14);
  border-radius: 999px;
  color: #7a4b06;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 900;
  grid-column: 2 / -1;
  justify-self: start;
  padding: 5px 8px;
  text-transform: uppercase;
}

.admin-page .admin-deck-mini i {
  background-position: center;
  background-size: cover;
}

.ios-analytics-panel {
  display: grid;
  gap: 18px;
}

.ios-analytics-hero,
.ios-filter-panel,
.ios-report-card,
.ios-table-card,
.ios-pack-strip,
.ios-warning {
  background:
    linear-gradient(180deg, rgba(255, 252, 244, 0.96), rgba(255, 248, 236, 0.82)),
    #fffaf0;
  border: 1px solid var(--admin-line);
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(50, 31, 20, 0.08);
}

.ios-analytics-hero {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 16px 18px;
}

.ios-analytics-hero h2 {
  color: var(--admin-ink);
  font-size: clamp(1.65rem, 2.6vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0;
}

.ios-analytics-hero p {
  color: var(--admin-muted);
  font-weight: 720;
  line-height: 1.45;
  margin: 6px 0 0;
  max-width: 820px;
}

.ios-filter-panel {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  padding: 12px;
}

.ios-filter-panel label,
.ios-raw-filter-row label {
  display: grid;
  gap: 6px;
}

.ios-filter-panel span,
.ios-raw-filter-row span {
  color: var(--admin-muted);
  font-size: 0.74rem;
  font-weight: 900;
}

.ios-warning {
  background: rgba(215, 154, 41, 0.13);
  color: #704606;
  font-weight: 850;
  padding: 12px 14px;
}

.ios-warning.error {
  background: rgba(213, 37, 31, 0.09);
  color: #971b16;
}

.ios-rollup-banner,
.ios-definition-drawer {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 253, 250, 0.92));
  border: 1px solid rgba(17, 125, 118, 0.14);
  border-left: 6px solid #11a7a0;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(24, 16, 10, 0.06);
}

.ios-rollup-banner {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 14px 16px;
}

.ios-rollup-banner.partial {
  background: linear-gradient(135deg, rgba(255, 252, 244, 0.98), rgba(255, 248, 224, 0.88));
  border-color: rgba(247, 191, 45, 0.22);
  border-left-color: var(--loteria-yellow, #f7bf2d);
}

.ios-rollup-banner strong,
.ios-definition-drawer summary {
  color: var(--admin-ink);
  font-weight: 950;
}

.ios-rollup-banner span {
  color: var(--admin-muted);
  display: block;
  font-size: 0.86rem;
  font-weight: 760;
  line-height: 1.35;
  margin-top: 2px;
}

.ios-rollup-banner em {
  background: rgba(17, 125, 118, 0.1);
  border-radius: 999px;
  color: #0e6f69;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 950;
  padding: 8px 11px;
}

.ios-definition-drawer {
  border-left-color: var(--loteria-purple, #6b4bd8);
  padding: 0;
}

.ios-definition-drawer summary {
  cursor: pointer;
  list-style-position: inside;
  padding: 13px 16px;
}

.ios-definition-drawer > div {
  border-top: 1px solid rgba(23, 16, 12, 0.08);
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  padding: 14px 16px 16px;
}

.ios-definition-drawer p {
  background: rgba(23, 16, 12, 0.04);
  border-radius: 15px;
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 10px;
}

.ios-definition-drawer p strong {
  color: var(--admin-ink);
  font-size: 0.85rem;
}

.ios-definition-drawer p span {
  color: var(--admin-muted);
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.3;
}

.ios-kpi-grid {
  grid-template-columns: repeat(6, minmax(120px, 1fr));
}

.ios-report-grid {
  display: grid;
  gap: 18px;
}

.ios-report-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ios-report-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ios-report-card,
.ios-table-card {
  min-width: 0;
  padding: 16px;
}

.ios-card-head,
.ios-table-head,
.ios-raw-filter-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ios-card-head h3,
.ios-table-head h4 {
  color: var(--admin-ink);
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  margin: 0;
}

.ios-card-head span {
  color: var(--admin-muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.admin-line-chart {
  display: block;
  height: auto;
  width: 100%;
}

.admin-line-chart path {
  fill: none;
  stroke: rgba(23, 16, 12, 0.18);
  stroke-width: 2;
}

.admin-line-chart polyline {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.admin-line-chart text {
  fill: var(--admin-muted);
  font-size: 18px;
  font-weight: 800;
}

.admin-bar-chart {
  display: grid;
  gap: 9px;
}

.admin-bar-row {
  align-items: center;
  display: grid;
  gap: 9px;
  grid-template-columns: minmax(92px, 0.48fr) minmax(120px, 1fr) auto;
}

.admin-bar-row span,
.admin-bar-row strong {
  color: var(--admin-ink);
  font-size: 0.84rem;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-bar-row div {
  background: rgba(23, 16, 12, 0.08);
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
}

.admin-bar-row i {
  border-radius: inherit;
  display: block;
  height: 100%;
}

.admin-chart-empty {
  align-items: center;
  background: rgba(23, 16, 12, 0.04);
  border: 1px dashed rgba(23, 16, 12, 0.16);
  border-radius: 18px;
  color: var(--admin-muted);
  display: flex;
  font-weight: 850;
  justify-content: center;
  min-height: 160px;
  padding: 18px;
}

.ios-table-scroll {
  max-height: 440px;
  overflow: auto;
}

.ios-table-scroll table {
  border-collapse: collapse;
  min-width: 760px;
  width: 100%;
}

.ios-table-scroll th,
.ios-table-scroll td {
  border-bottom: 1px solid rgba(23, 16, 12, 0.08);
  color: var(--admin-ink);
  font-size: 0.82rem;
  padding: 10px 9px;
  text-align: left;
  vertical-align: top;
}

.ios-table-scroll th {
  background: rgba(255, 250, 240, 0.96);
  font-size: 0.72rem;
  font-weight: 950;
  position: sticky;
  text-transform: uppercase;
  top: 0;
  z-index: 1;
}

.ios-table-scroll td {
  color: #5d4639;
  font-weight: 720;
  max-width: 280px;
  word-break: break-word;
}

.ios-funnel {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ios-funnel article,
.ios-mini-kpis span,
.ios-pack-strip span {
  background: rgba(31, 111, 76, 0.07);
  border: 1px solid rgba(31, 111, 76, 0.12);
  border-radius: 16px;
  padding: 10px;
}

.ios-funnel article span {
  align-items: center;
  background: var(--admin-green);
  border-radius: 999px;
  color: #fffaf0;
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 950;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.ios-funnel strong {
  color: var(--admin-ink);
  display: block;
  font-size: 1.4rem;
  margin-top: 8px;
}

.ios-funnel p {
  color: var(--admin-muted);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.2;
  margin: 2px 0 0;
  text-transform: capitalize;
}

.ios-pack-strip {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
}

.ios-pack-strip strong {
  color: var(--admin-ink);
  margin-right: 6px;
}

.ios-pack-strip span {
  color: var(--admin-green);
  font-size: 0.78rem;
  font-weight: 850;
  padding: 7px 9px;
}

.ios-mini-kpis {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 12px;
}

.ios-mini-kpis span {
  color: var(--admin-muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.ios-mini-kpis strong {
  color: var(--admin-ink);
  display: block;
  font-size: 1.08rem;
}

.raw-events-card {
  display: grid;
  gap: 12px;
}

.ios-raw-filter-row {
  justify-content: start;
}

.ios-raw-filter-row label {
  flex: 1 1 260px;
}

.ios-page-indicator {
  background: rgba(23, 16, 12, 0.06);
  border-radius: 999px;
  color: var(--admin-muted);
  font-weight: 900;
  padding: 9px 12px;
}

.ios-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.ios-hero-meta,
.ios-chart-legend,
.ios-section-nav,
.ios-insight-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ios-hero-meta {
  margin-top: 14px;
}

.ios-hero-meta span,
.ios-chart-legend span,
.ios-section-nav button,
.ios-insight-strip article {
  border: 1px solid rgba(23, 16, 12, 0.1);
  border-radius: 999px;
  color: var(--admin-muted);
  font-size: 0.78rem;
  font-weight: 850;
  padding: 8px 11px;
}

.ios-section-nav {
  background: rgba(255, 250, 240, 0.76);
  border: 1px solid rgba(23, 16, 12, 0.08);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(50, 31, 20, 0.08);
  padding: 6px;
  position: sticky;
  top: 10px;
  z-index: 3;
}

.ios-section-nav button {
  background: transparent;
  border-color: transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ios-section-nav button:hover {
  transform: translateY(-1px);
}

.ios-section-nav button.active {
  background: #1d120d;
  color: #fffaf0;
}

.ios-filter-panel.collapsed {
  display: none;
}

.ios-insight-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ios-insight-strip article {
  background: linear-gradient(135deg, rgba(255, 250, 240, 0.98), rgba(250, 241, 224, 0.86));
  border-radius: 20px;
  padding: 14px;
}

.ios-insight-strip article.up {
  border-color: rgba(31, 122, 77, 0.28);
}

.ios-insight-strip article.down {
  border-color: rgba(180, 35, 24, 0.28);
}

.ios-insight-strip article strong {
  color: var(--admin-ink);
  display: block;
  font-size: 1rem;
  margin-top: 4px;
}

.ios-insight-strip article p {
  color: var(--admin-muted);
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.25;
  margin: 4px 0 0;
}

.ios-metric-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ios-metric-grid.priority {
  grid-template-columns: repeat(6, minmax(140px, 1fr));
}

.ios-metric-grid.compact {
  grid-template-columns: repeat(4, minmax(150px, 1fr));
}

.ios-metric-card {
  background:
    radial-gradient(circle at top right, rgba(211, 50, 39, 0.1), transparent 44%),
    linear-gradient(180deg, rgba(255, 252, 244, 0.98), rgba(255, 248, 236, 0.88));
  border: 1px solid rgba(23, 16, 12, 0.1);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(50, 31, 20, 0.08);
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 15px;
}

.ios-metric-card span {
  color: var(--admin-muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.ios-metric-card strong {
  color: var(--admin-ink);
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.ios-metric-card p {
  color: var(--admin-muted);
  font-size: 0.78rem;
  font-weight: 800;
  margin: 0;
}

.ios-metric-card p b {
  color: var(--admin-ink);
}

.ios-metric-card.up p b {
  color: #147a4c;
}

.ios-metric-card.down p b {
  color: #b42318;
}

.ios-metric-card em {
  color: var(--admin-muted);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 760;
}

.ios-kpi-sparkline {
  height: 42px;
  width: 100%;
}

.ios-kpi-sparkline polyline {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.ios-kpi-spark-empty {
  background: rgba(23, 16, 12, 0.05);
  border-radius: 999px;
  display: block;
  height: 8px;
  margin: 16px 0;
}

.ios-report-card.featured {
  background:
    radial-gradient(circle at 12% 10%, rgba(245, 184, 59, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 252, 244, 0.98), rgba(255, 248, 236, 0.88));
}

.ios-chart-wrap {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(248, 250, 252, 0.52));
  border: 1px solid rgba(21, 17, 15, 0.07);
  border-radius: 20px;
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 12px;
}

.ios-chart-wrap.feature {
  background:
    radial-gradient(circle at 14% 8%, rgba(41, 189, 242, 0.12), transparent 14rem),
    radial-gradient(circle at 86% 12%, rgba(236, 47, 145, 0.1), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.64));
}

.ios-multi-line-chart {
  display: block;
  height: auto;
  width: 100%;
}

.ios-multi-line-chart path:not(.area-fill) {
  fill: none;
  stroke: rgba(23, 16, 12, 0.15);
  stroke-width: 2;
}

.ios-multi-line-chart .area-fill {
  stroke: none;
}

.ios-multi-line-chart .grid-line {
  stroke: rgba(21, 17, 15, 0.08);
  stroke-dasharray: 5 8;
  stroke-width: 1.6;
}

.ios-multi-line-chart .axis-line {
  stroke: rgba(21, 17, 15, 0.14);
  stroke-width: 2;
}

.ios-multi-line-chart polyline {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4.8;
  filter: drop-shadow(0 5px 7px rgba(15, 23, 42, 0.09));
  transition: opacity 0.2s ease, stroke-width 0.2s ease;
}

.ios-multi-line-chart text {
  fill: var(--admin-muted);
  font-size: 18px;
  font-weight: 850;
}

.ios-multi-line-chart .hit-point {
  cursor: crosshair;
  fill: transparent;
  stroke: transparent;
}

.ios-multi-line-chart .endpoint {
  filter: drop-shadow(0 3px 5px rgba(15, 23, 42, 0.18));
  stroke: #fff;
  stroke-width: 2.5;
}

.ios-chart-legend span {
  align-items: center;
  background: rgba(255, 250, 240, 0.8);
  display: inline-flex;
  gap: 7px;
  padding: 6px 9px;
}

.ios-chart-legend span b {
  background: rgba(21, 17, 15, 0.07);
  border-radius: 999px;
  color: var(--admin-ink);
  font-size: 0.72rem;
  margin-left: 3px;
  padding: 3px 7px;
}

.ios-chart-legend i,
.ios-donut-legend i {
  border-radius: 999px;
  display: inline-block;
  height: 9px;
  width: 9px;
}

.ios-overview-trend-card {
  display: grid;
  gap: 14px;
}

.ios-trend-head {
  align-items: start;
}

.ios-trend-controls {
  align-items: center;
  background: rgba(21, 17, 15, 0.05);
  border: 1px solid rgba(21, 17, 15, 0.08);
  border-radius: 999px;
  display: inline-flex;
  gap: 4px;
  padding: 5px;
}

.ios-trend-controls button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--admin-muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 950;
  padding: 8px 11px;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.ios-trend-controls button:hover {
  transform: translateY(-1px);
}

.ios-trend-controls button.active {
  background: var(--gallery-ink, #15110f);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
  color: #fff;
}

.ios-trend-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ios-trend-summary span {
  background:
    radial-gradient(circle at 100% 0%, rgba(41, 189, 242, 0.12), transparent 4rem),
    rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(21, 17, 15, 0.08);
  border-radius: 17px;
  color: var(--admin-muted);
  font-size: 0.78rem;
  font-weight: 850;
  padding: 10px;
}

.ios-trend-summary b {
  color: var(--admin-ink);
  display: block;
  font-size: 1.22rem;
  line-height: 1;
}

.ios-horizontal-bars {
  display: grid;
  gap: 10px;
}

.ios-horizontal-bar {
  display: grid;
  gap: 6px;
}

.ios-horizontal-bar > div {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.ios-horizontal-bar span,
.ios-horizontal-bar strong {
  color: var(--admin-ink);
  font-size: 0.86rem;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ios-horizontal-bar > i {
  background: rgba(23, 16, 12, 0.07);
  border-radius: 999px;
  display: block;
  height: 11px;
  overflow: hidden;
}

.ios-horizontal-bar > i b {
  border-radius: inherit;
  display: block;
  height: 100%;
}

.ios-heatmap {
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(110px, 1.2fr) repeat(var(--heatmap-columns, 4), minmax(var(--heatmap-cell-min, 70px), 1fr));
  overflow-x: auto;
}

.ios-heatmap strong,
.ios-heatmap b,
.ios-heatmap span {
  align-items: center;
  border-radius: 12px;
  color: var(--admin-ink);
  display: flex;
  font-size: 0.78rem;
  font-weight: 900;
  min-height: var(--heatmap-cell-height, 42px);
  padding: 8px;
}

.ios-heatmap strong,
.ios-heatmap b,
.ios-heatmap-corner {
  background: rgba(23, 16, 12, 0.05);
}

.ios-heatmap strong {
  justify-content: center;
  text-align: center;
}

.ios-heatmap span {
  border: 1px solid rgba(17, 125, 118, 0.1);
  justify-content: center;
}

.ios-usage-layout {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.36fr);
  margin: 0 auto;
  max-width: 980px;
}

.ios-usage-board {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.ios-usage-toolbar {
  align-items: center;
  display: inline-flex;
  gap: 7px;
  justify-self: start;
}

.ios-usage-toolbar span {
  color: var(--admin-muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.ios-usage-toolbar button {
  background: rgba(23, 16, 12, 0.04);
  border: 1px solid rgba(23, 16, 12, 0.1);
  border-radius: 999px;
  color: var(--admin-muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 7px 10px;
}

.ios-usage-toolbar button.active {
  background: var(--admin-ink);
  border-color: var(--admin-ink);
  color: #fffaf0;
}

.ios-usage-grid {
  display: grid;
  gap: 5px;
  grid-template-columns: minmax(98px, 0.85fr) repeat(var(--usage-columns, 7), minmax(44px, 1fr));
  min-width: 0;
  overflow-x: auto;
}

.ios-usage-grid strong,
.ios-usage-corner,
.ios-usage-row-label,
.ios-usage-hour-label,
.ios-usage-cell {
  align-items: center;
  border-radius: 11px;
  display: flex;
  font-size: 0.76rem;
  font-weight: 900;
  justify-content: center;
  min-height: 34px;
  padding: 7px;
}

.ios-usage-grid strong,
.ios-usage-corner,
.ios-usage-row-label,
.ios-usage-hour-label {
  background: rgba(23, 16, 12, 0.055);
  color: var(--admin-ink);
}

.ios-usage-row-label,
.ios-usage-cell.clickable {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.ios-usage-row-label {
  gap: 6px;
  justify-content: flex-start;
  text-align: left;
}

.ios-usage-row-label span {
  align-items: center;
  background: rgba(17, 125, 118, 0.12);
  border-radius: 999px;
  color: #0f5f5a;
  display: inline-flex;
  height: 18px;
  justify-content: center;
  width: 18px;
}

.ios-usage-row-label.active {
  background: rgba(17, 125, 118, 0.13);
  color: #0f5f5a;
}

.ios-usage-hour-label {
  color: var(--admin-muted);
  font-size: 0.72rem;
  padding-left: 28px;
}

.ios-usage-cell {
  border: 1px solid rgba(17, 125, 118, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 250, 240, 0.16);
  text-align: center;
}

.ios-usage-cell.detail {
  border-radius: 9px;
  font-size: 0.72rem;
  min-height: 28px;
}

.ios-usage-summary {
  background: rgba(255, 250, 240, 0.72);
  border: 1px solid rgba(23, 16, 12, 0.08);
  border-radius: 18px;
  display: grid;
  gap: 9px;
  padding: 13px;
}

.ios-usage-summary > div {
  display: grid;
  gap: 2px;
}

.ios-usage-summary strong {
  color: var(--admin-ink);
  font-size: 0.95rem;
}

.ios-usage-summary > div span,
.ios-usage-summary small,
.ios-usage-summary em {
  color: var(--admin-muted);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.25;
}

.ios-usage-summary p {
  align-items: center;
  background: rgba(17, 125, 118, 0.07);
  border: 1px solid rgba(17, 125, 118, 0.1);
  border-radius: 14px;
  color: var(--admin-muted);
  display: flex;
  font-size: 0.78rem;
  font-weight: 850;
  justify-content: space-between;
  margin: 0;
  padding: 9px;
}

.ios-usage-summary p b {
  color: var(--admin-ink);
}

.ios-usage-note {
  background: rgba(29, 171, 216, 0.08);
  border: 1px solid rgba(29, 171, 216, 0.16);
  border-radius: 14px;
  color: var(--admin-muted);
  font-size: 0.78rem;
  font-weight: 800;
  grid-column: 1 / -1;
  line-height: 1.35;
  margin: 0;
  padding: 10px 12px;
}

.ios-pack-leaderboard {
  display: grid;
  gap: 10px;
}

.ios-pack-leaderboard article {
  background: rgba(255, 250, 240, 0.72);
  border: 1px solid rgba(23, 16, 12, 0.08);
  border-radius: 18px;
  display: grid;
  gap: 8px;
  padding: 11px;
}

.ios-pack-leaderboard article > div {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: 0;
}

.ios-pack-leaderboard span {
  align-items: center;
  background: var(--admin-ink);
  border-radius: 999px;
  color: #fffaf0;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 950;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.ios-pack-leaderboard strong {
  color: var(--admin-ink);
  font-size: 0.88rem;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ios-pack-leaderboard i {
  background: rgba(23, 16, 12, 0.07);
  border-radius: 999px;
  display: block;
  height: 10px;
  overflow: hidden;
}

.ios-pack-leaderboard i b {
  background: linear-gradient(90deg, #b42318, #f5b83b, #1f7a4d);
  border-radius: inherit;
  display: block;
  height: 100%;
}

.ios-pack-leaderboard p {
  color: var(--admin-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.76rem;
  gap: 8px;
  margin: 0;
}

.ios-pack-leaderboard p b {
  background: rgba(23, 16, 12, 0.05);
  border-radius: 999px;
  color: var(--admin-muted);
  font-weight: 850;
  padding: 5px 7px;
}

.ios-donut-chart {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr;
}

.ios-donut {
  align-items: center;
  border-radius: 999px;
  box-shadow: inset 0 0 0 22px rgba(255, 250, 240, 0.88), 0 12px 26px rgba(50, 31, 20, 0.1);
  display: flex;
  flex-direction: column;
  height: 156px;
  justify-content: center;
  width: 156px;
}

.ios-donut strong {
  color: var(--admin-ink);
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.ios-donut span {
  color: var(--admin-muted);
  font-size: 0.74rem;
  font-weight: 900;
}

.ios-donut-legend {
  display: grid;
  gap: 8px;
}

.ios-donut-legend span {
  align-items: center;
  color: var(--admin-muted);
  display: flex;
  font-size: 0.83rem;
  font-weight: 820;
  gap: 8px;
  justify-content: space-between;
}

.ios-donut-legend b {
  color: var(--admin-ink);
  margin-left: auto;
}

.ios-funnel-chart {
  display: grid;
  gap: 10px;
}

.ios-funnel-chart article {
  background: rgba(31, 111, 76, 0.06);
  border: 1px solid rgba(31, 111, 76, 0.12);
  border-radius: 18px;
  display: grid;
  gap: 7px;
  padding: 11px;
}

.ios-funnel-chart article div {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: auto 1fr auto;
}

.ios-funnel-chart span {
  align-items: center;
  background: var(--admin-green);
  border-radius: 999px;
  color: #fffaf0;
  display: inline-flex;
  font-weight: 950;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.ios-funnel-chart strong,
.ios-funnel-chart em {
  color: var(--admin-ink);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 900;
}

.ios-funnel-chart > article > i {
  background: rgba(23, 16, 12, 0.07);
  border-radius: 999px;
  display: block;
  height: 10px;
  overflow: hidden;
}

.ios-funnel-chart > article > i b {
  background: linear-gradient(90deg, #b42318, #f5b83b, #1f7a4d);
  border-radius: inherit;
  display: block;
  height: 100%;
}

.ios-funnel-chart p,
.ios-big-stat p {
  color: var(--admin-muted);
  font-size: 0.8rem;
  font-weight: 800;
  margin: 0;
}

.ios-big-stat {
  background: rgba(180, 35, 24, 0.06);
  border: 1px solid rgba(180, 35, 24, 0.1);
  border-radius: 20px;
  margin-bottom: 12px;
  padding: 14px;
}

.ios-big-stat strong {
  color: var(--admin-ink);
  display: block;
  font-size: clamp(2.2rem, 4vw, 4rem);
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.ios-big-stat span {
  color: var(--admin-muted);
  display: block;
  font-weight: 900;
  margin: 4px 0 8px;
}

.ios-divider {
  background: rgba(23, 16, 12, 0.08);
  height: 1px;
  margin: 14px 0;
}

.ios-event-chip {
  background: rgba(17, 125, 118, 0.1);
  border: 1px solid rgba(17, 125, 118, 0.16);
  border-radius: 999px;
  color: #0d6864;
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 900;
  padding: 5px 8px;
}

.ios-payload-cell {
  background: rgba(23, 16, 12, 0.04);
  border: 1px solid rgba(23, 16, 12, 0.08);
  border-radius: 12px;
  color: #5d4639;
  cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  max-width: 420px;
  padding: 8px;
  text-align: left;
  white-space: normal;
  word-break: break-word;
}

.ios-payload-cell.open {
  max-width: 680px;
}

.ios-empty-payload {
  color: var(--admin-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
}

@media (max-width: 1280px) {
  .admin-health-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }

  .admin-page .admin-cockpit-summary {
    grid-template-columns: repeat(4, minmax(120px, 1fr));
  }

  .ios-metric-grid,
  .ios-metric-grid.priority,
  .ios-insight-strip,
  .ios-trend-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ios-kpi-grid,
  .ios-report-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .admin-page .support-workspace,
  .admin-page .project-inspector-workspace,
  .admin-page .ai-admin-workspace,
  .ios-report-grid.two,
  .ios-report-grid.three {
    grid-template-columns: 1fr;
  }

  .ios-analytics-hero {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .ios-hero-actions {
    justify-content: start;
  }

  .ios-usage-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .admin-hero-panel,
  .admin-dashboard-grid,
  .ios-analytics-hero,
  .ios-kpi-grid,
  .ios-mini-kpis,
  .ios-funnel {
    grid-template-columns: 1fr;
  }

  .ios-metric-grid,
  .ios-metric-grid.priority,
  .ios-metric-grid.compact,
  .ios-insight-strip,
  .ios-trend-summary,
  .ios-donut-chart,
  .ios-funnel-chart article div {
    grid-template-columns: 1fr;
  }

  .ios-trend-head {
    align-items: stretch;
    display: grid;
  }

  .ios-trend-controls {
    justify-self: start;
    max-width: 100%;
    overflow-x: auto;
  }

  .ios-section-nav {
    border-radius: 22px;
    flex-wrap: nowrap;
    overflow-x: auto;
    position: static;
  }

  .ios-section-nav button {
    flex: 0 0 auto;
  }

  .ios-hero-actions > * {
    flex: 1 1 100%;
  }

  .ios-rollup-banner {
    align-items: start;
    flex-direction: column;
  }

  .ios-donut {
    height: 132px;
    width: 132px;
  }

  .ios-usage-grid {
    grid-template-columns: minmax(92px, 0.85fr) repeat(var(--usage-columns, 7), minmax(40px, 1fr));
  }

  .ios-usage-grid strong,
  .ios-usage-corner,
  .ios-usage-row-label,
  .ios-usage-hour-label,
  .ios-usage-cell {
    font-size: 0.7rem;
    min-height: 30px;
    padding: 6px;
  }

  .admin-quick-actions {
    justify-content: stretch;
  }

  .admin-quick-actions > * {
    flex: 1 1 100%;
  }

  .admin-page .admin-cockpit-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-health-grid {
    grid-template-columns: 1fr;
  }

  .raw-events-card .ios-table-scroll {
    max-height: none;
  }

  .raw-events-card .ios-table-scroll table,
  .raw-events-card .ios-table-scroll thead,
  .raw-events-card .ios-table-scroll tbody,
  .raw-events-card .ios-table-scroll tr,
  .raw-events-card .ios-table-scroll td {
    display: block;
    min-width: 0;
    width: 100%;
  }

  .raw-events-card .ios-table-scroll thead {
    display: none;
  }

  .raw-events-card .ios-table-scroll tr {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(23, 16, 12, 0.08);
    border-radius: 18px;
    margin-bottom: 12px;
    overflow: hidden;
  }

  .raw-events-card .ios-table-scroll td {
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(92px, 0.35fr) minmax(0, 1fr);
    max-width: none;
    padding: 9px 11px;
  }

  .raw-events-card .ios-table-scroll td::before {
    color: var(--admin-muted);
    content: attr(data-label);
    font-size: 0.7rem;
    font-weight: 950;
    text-transform: uppercase;
  }

  .admin-code-row,
  .admin-ledger-row,
  .admin-row-metrics,
  .admin-support-metrics {
    grid-template-columns: 1fr;
  }
}

/* Viewport-safe modal layer */
body.modal-open {
  overflow: hidden;
}

.modal-backdrop,
.template-modal-backdrop,
.ai-token-backdrop,
.ai-preview-lightbox {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(16px, 4dvh, 42px);
  position: fixed;
  z-index: 1000;
}

.ai-preview-lightbox {
  z-index: 1010;
}

.modal-backdrop > *,
.template-modal-backdrop > *,
.ai-token-backdrop > *,
.ai-preview-lightbox > * {
  flex: 0 1 auto;
  margin: auto;
  max-height: calc(100dvh - clamp(32px, 8dvh, 84px));
}

.auth-card,
.ai-token-modal,
.template-modal,
.ai-preview-lightbox-card {
  overflow-y: auto;
  overscroll-behavior: contain;
}

.auth-card,
.ai-token-modal {
  max-width: min(720px, calc(100vw - 32px));
}

.auth-card,
.ai-token-modal {
  max-height: calc(100dvh - clamp(32px, 8dvh, 84px));
}

@media (max-width: 640px), (max-height: 720px) {
  .modal-backdrop,
  .template-modal-backdrop,
  .ai-token-backdrop,
  .ai-preview-lightbox {
    align-items: flex-start;
    padding: max(14px, env(safe-area-inset-top)) 14px max(14px, env(safe-area-inset-bottom));
  }

  .modal-backdrop > *,
  .template-modal-backdrop > *,
  .ai-token-backdrop > *,
  .ai-preview-lightbox > * {
    margin-bottom: 0;
    margin-top: 0;
    max-height: calc(100dvh - 28px);
  }
}

/* Compact commerce status for project and builder headers */
.project-hub-side,
.builder-intro-side {
  display: grid;
  gap: 10px;
}

.builder-intro-side > p {
  color: var(--studio-muted, #654d3f);
  font-size: clamp(0.9rem, 1.04vw, 1.02rem);
  font-weight: 620;
  line-height: 1.45;
  margin: 0;
  max-width: 560px;
}

.purchase-wallet.compact-wallet {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.92), rgba(244, 238, 226, 0.78)),
    rgba(255, 250, 240, 0.9);
  border: 1px solid rgba(23, 16, 12, 0.1);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(50, 31, 20, 0.08);
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(150px, 0.9fr) minmax(220px, 1.35fr) auto;
  padding: 10px;
}

.compact-wallet-status {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.compact-wallet-status span,
.compact-wallet-pills b {
  color: rgba(83, 54, 39, 0.66);
  font-size: 0.64rem;
  font-weight: 940;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compact-wallet-status strong {
  color: var(--studio-ink, #24130e);
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.compact-wallet-status small {
  color: rgba(83, 54, 39, 0.72);
  font-size: 0.72rem;
  font-weight: 720;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-wallet-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.compact-wallet-pills span,
.compact-wallet-pills a {
  align-items: center;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(23, 16, 12, 0.08);
  border-radius: 999px;
  color: var(--studio-ink, #24130e);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 850;
  gap: 6px;
  min-height: 32px;
  padding: 6px 9px;
}

.compact-wallet-actions,
.square-pass-mini {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  min-width: 0;
}

.square-pass-mini .access-code-message {
  flex-basis: 100%;
  font-size: 0.72rem;
  text-align: right;
}

.mini-wallet-button {
  border-radius: 999px !important;
  font-size: 0.78rem !important;
  min-height: 32px !important;
  padding: 0 10px !important;
  white-space: nowrap;
}

.project-hub-page .project-hub-hero {
  align-items: start;
  margin-bottom: 14px;
}

.project-hub-page .project-hub-stats {
  gap: 8px;
}

.project-hub-page .project-hub-stats article {
  border-radius: 16px;
  padding: 11px;
}

.project-hub-page .project-hub-stats strong {
  font-size: 1.05rem;
  margin-top: 3px;
}

.project-hub-page .project-hub-stats article small {
  color: var(--gallery-muted);
  display: block;
  font-size: 0.72rem;
  font-weight: 760;
  margin-top: 2px;
}

.project-hub-page .project-hub-stats .ai-token-stat {
  --card-accent: var(--loteria-purple);
}

.project-commerce-card {
  background:
    linear-gradient(90deg, var(--loteria-magenta) 0 6px, transparent 6px),
    radial-gradient(circle at 96% 12%, rgba(236, 47, 145, 0.13), transparent 9rem),
    radial-gradient(circle at 8% 100%, rgba(41, 189, 242, 0.11), transparent 9rem),
    rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(21, 17, 15, 0.1);
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 14px 14px 14px 18px;
}

.project-commerce-card span {
  color: var(--loteria-magenta);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.project-commerce-card strong {
  color: var(--gallery-ink);
  display: block;
  font-size: 1.08rem;
  line-height: 1.05;
  margin-top: 3px;
}

.project-commerce-card p {
  color: var(--gallery-muted);
  font-size: 0.82rem;
  font-weight: 720;
  line-height: 1.35;
  margin: 4px 0 0;
}

.project-commerce-actions,
.project-commerce-actions .square-pass-mini {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.project-hub-page .project-action-grid {
  grid-template-columns: 1fr;
  margin-bottom: 16px;
}

.project-hub-page .project-action-card {
  align-items: center;
  gap: 6px 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 14px 16px;
}

.project-hub-page .project-action-card h2 {
  font-size: 1.2rem;
  margin: 0;
}

.project-hub-page .project-action-card p {
  margin: 0;
}

.project-hub-page .project-action-card button {
  grid-column: 2;
}

.project-hub-page .project-action-card > span,
.project-hub-page .project-action-card h2,
.project-hub-page .project-action-card p {
  grid-column: 1;
}

.project-hub-page .project-action-card > .primary-button {
  grid-row: 1 / span 3;
}

@media (max-width: 1180px) {
  .purchase-wallet.compact-wallet {
    grid-template-columns: 1fr;
  }

  .compact-wallet-actions,
  .square-pass-mini {
    justify-content: flex-start;
  }

  .square-pass-mini .access-code-message {
    text-align: left;
  }

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

  .project-commerce-actions,
  .project-commerce-actions .square-pass-mini {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .project-hub-page .project-action-card {
    grid-template-columns: 1fr;
  }

  .project-hub-page .project-action-card button,
  .project-hub-page .project-action-card > span,
  .project-hub-page .project-action-card h2,
  .project-hub-page .project-action-card p,
  .project-hub-page .project-action-card > .primary-button {
    grid-column: 1;
    grid-row: auto;
  }
}

/* Gallery Lotería theme: white-first app-wide refresh */
.landing,
.builder-page,
.seo-redesign,
.landing-redesign {
  background:
    radial-gradient(circle at 8% 8%, rgba(41, 189, 242, 0.12), transparent 26rem),
    radial-gradient(circle at 94% 10%, rgba(236, 47, 145, 0.1), transparent 25rem),
    radial-gradient(circle at 80% 92%, rgba(255, 211, 51, 0.12), transparent 24rem),
    linear-gradient(180deg, var(--gallery-white) 0%, var(--gallery-canvas) 52%, var(--gallery-white) 100%) !important;
  color: var(--gallery-ink);
}

.landing::before,
.builder-page::before,
.landing-redesign::before {
  background-image:
    linear-gradient(45deg, rgba(41, 189, 242, 0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(236, 47, 145, 0.045) 25%, transparent 25%);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.32), transparent 70%);
  opacity: 0.44;
}

.top-nav,
.landing-redesign .top-nav,
.builder-header {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(21, 17, 15, 0.1) !important;
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.1) !important;
  color: var(--gallery-ink) !important;
}

.top-nav::after,
.landing-redesign .top-nav::after,
.builder-header::after {
  background: linear-gradient(90deg, var(--loteria-blue), var(--loteria-green), var(--loteria-yellow), var(--loteria-magenta), var(--loteria-purple)) !important;
  bottom: -5px;
  height: 4px;
}

.brand-label,
.landing-redesign .brand-label,
.landing-redesign .nav-links a,
.nav-links a,
.nav-ghost,
.nav-cta {
  color: var(--gallery-ink) !important;
}

.logo-mark {
  background: var(--gallery-white);
  border-color: var(--gallery-white);
  border-radius: 15px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.nav-ghost,
.nav-cta,
.landing-redesign .nav-ghost,
.landing-redesign .nav-cta,
.landing-redesign .secondary-button,
.secondary-button,
.small-button,
.mini-wallet-button {
  background: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid rgba(21, 17, 15, 0.12) !important;
  box-shadow: none !important;
  color: var(--gallery-ink) !important;
}

.nav-ghost:hover,
.nav-cta:hover,
.secondary-button:hover,
.small-button:hover {
  background: rgba(41, 189, 242, 0.1) !important;
  border-color: rgba(41, 189, 242, 0.24) !important;
  color: #087ca0 !important;
}

.nav-icon {
  background: rgba(41, 189, 242, 0.12) !important;
  color: #087ca0 !important;
}

.language-toggle,
.landing-redesign .language-toggle {
  background: rgba(255, 255, 255, 0.82) !important;
  border-color: rgba(21, 17, 15, 0.12) !important;
}

.language-toggle button,
.language-toggle a,
.landing-redesign .language-toggle button,
.landing-redesign .language-toggle a {
  color: var(--gallery-muted) !important;
}

.language-toggle button.active,
.language-toggle a.active,
.landing-redesign .language-toggle button.active,
.landing-redesign .language-toggle a.active {
  background: var(--gallery-ink) !important;
  color: var(--gallery-white) !important;
}

.primary-button,
.landing-redesign .primary-button,
.nav-cta.primary,
.auth-submit,
.checkout-button,
.builder-page .sparkle-button {
  background: linear-gradient(135deg, var(--loteria-magenta), var(--loteria-red)) !important;
  border: 0 !important;
  box-shadow: 0 14px 30px rgba(236, 47, 145, 0.22) !important;
  color: var(--gallery-white) !important;
}

.primary-button:hover,
.landing-redesign .primary-button:hover,
.builder-page .sparkle-button:hover {
  box-shadow: 0 18px 38px rgba(236, 47, 145, 0.28) !important;
  filter: saturate(1.04);
  transform: translateY(-1px);
}

.danger-button,
.delete-button,
.builder-page .delete-button {
  background: rgba(228, 58, 46, 0.08) !important;
  border-color: rgba(228, 58, 46, 0.2) !important;
  color: #ba241b !important;
}

/* Public landing */
.landing-redesign {
  --lm-dark: var(--gallery-ink);
  --lm-dark-2: #2a241f;
  --lm-cream: var(--gallery-white);
  --lm-paper: var(--gallery-white);
  --lm-red: var(--loteria-red);
  --lm-red-dark: #ad2118;
  --lm-teal: var(--loteria-blue);
  --lm-green: var(--loteria-green);
  --lm-gold: var(--loteria-yellow);
  --lm-pink: var(--loteria-magenta);
  --lm-purple: var(--loteria-purple);
}

.lm-hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(41, 189, 242, 0.16), transparent 22rem),
    radial-gradient(circle at 12% 78%, rgba(255, 211, 51, 0.14), transparent 22rem),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 17, 15, 0.08);
  border-radius: 42px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.1);
}

.lm-hero::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(248, 250, 252, 0.78)) !important;
  border-color: rgba(21, 17, 15, 0.08);
}

.lm-hero::after {
  background:
    linear-gradient(135deg, var(--loteria-blue) 0 18%, transparent 18% 30%, var(--loteria-yellow) 30% 50%, transparent 50% 62%, var(--loteria-magenta) 62% 82%, var(--loteria-green) 82%) !important;
  opacity: 1;
}

.lm-kicker,
.landing-redesign .seo-faq-section .eyebrow,
.lm-intro .lm-kicker,
.lm-section-head .lm-kicker {
  color: var(--loteria-magenta) !important;
}

.lm-hero h1,
.lm-hero h1 span,
.lm-ai-copy h2,
.lm-statement h2,
.lm-print-section .lm-section-head h2,
.lm-final-cta h2 {
  color: var(--gallery-ink) !important;
}

.lm-hero h1 em {
  color: var(--loteria-blue) !important;
}

.seo-home-route .lm-hero h1 {
  font-size: clamp(3.1rem, 5.15vw, 6.2rem);
  letter-spacing: -0.055em;
  line-height: 0.88;
  max-width: 820px;
}

.seo-home-route .lm-hero h1 em {
  font-size: clamp(1.22rem, 1.7vw, 2rem);
  letter-spacing: 0;
  line-height: 1.12;
  max-width: 32ch;
}

.seo-home-route .lm-hero-sub {
  max-width: 660px;
}

.lm-hero-sub,
.lm-ai-copy p:not(.lm-kicker),
.lm-statement p,
.lm-print-section .lm-section-head p:not(.lm-kicker),
.landing-redesign .site-footer p,
.landing-redesign .site-footer a,
.landing-redesign .site-footer button {
  color: var(--gallery-muted) !important;
}

.lm-proof-row span {
  background: var(--gallery-white) !important;
  border-color: rgba(21, 17, 15, 0.1) !important;
  color: var(--gallery-ink) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.lm-marquee {
  background: var(--gallery-white) !important;
  border-bottom-color: rgba(21, 17, 15, 0.1);
  border-top-color: rgba(21, 17, 15, 0.1);
  color: var(--gallery-ink) !important;
}

.lm-marquee span:nth-child(4n + 1) {
  color: var(--loteria-blue);
}

.lm-marquee span:nth-child(4n + 2) {
  color: var(--loteria-green);
}

.lm-marquee span:nth-child(4n + 3) {
  color: var(--loteria-magenta);
}

.lm-marquee span:nth-child(4n + 4) {
  color: var(--loteria-purple);
}

.lm-intro,
.lm-ai-promo,
.lm-process,
.lm-feature-showcase,
.lm-statements,
.lm-gallery,
.lm-print-section,
.lm-reviews,
.landing-redesign .seo-faq-section,
.landing-redesign .seo-related-section,
.lm-final-cta,
.landing-redesign .site-footer {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(21, 17, 15, 0.08);
  border-radius: 34px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
  color: var(--gallery-ink) !important;
  margin-bottom: 28px;
  margin-top: 28px;
}

.lm-ai-promo,
.lm-print-section,
.lm-final-cta {
  background:
    radial-gradient(circle at 88% 16%, rgba(41, 189, 242, 0.12), transparent 24rem),
    radial-gradient(circle at 12% 88%, rgba(236, 47, 145, 0.09), transparent 24rem),
    rgba(255, 255, 255, 0.92) !important;
}

.lm-statements {
  gap: 16px;
  padding: clamp(20px, 3vw, 34px);
}

.lm-statement,
.lm-step-card,
.lm-feature-tile,
.lm-sample-card,
.lm-review-card,
.landing-redesign .seo-faq-grid details,
.landing-redesign .seo-related-grid a,
.landing-redesign .seo-topic-links a,
.physical-product-card {
  background: var(--gallery-white) !important;
  border: 1px solid rgba(21, 17, 15, 0.1) !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08) !important;
}

.lm-step-card::after {
  background: linear-gradient(90deg, var(--loteria-blue), var(--loteria-green), var(--loteria-yellow), var(--loteria-magenta)) !important;
}

.lm-step-card > span,
.lm-statement > div > span,
.lm-sample-tag {
  background: rgba(41, 189, 242, 0.1) !important;
  border-color: rgba(41, 189, 242, 0.2) !important;
  color: #087ca0 !important;
}

.lm-feature-tile:nth-child(6n + 1),
.lm-step-card:nth-child(4n + 1) {
  border-top: 5px solid var(--loteria-blue) !important;
}

.lm-feature-tile:nth-child(6n + 2),
.lm-step-card:nth-child(4n + 2) {
  border-top: 5px solid var(--loteria-green) !important;
}

.lm-feature-tile:nth-child(6n + 3),
.lm-step-card:nth-child(4n + 3) {
  border-top: 5px solid var(--loteria-yellow) !important;
}

.lm-feature-tile:nth-child(6n + 4),
.lm-step-card:nth-child(4n + 4) {
  border-top: 5px solid var(--loteria-magenta) !important;
}

.lm-feature-tile:nth-child(6n + 5) {
  border-top: 5px solid var(--loteria-purple) !important;
}

.lm-feature-tile:nth-child(6n + 6) {
  border-top: 5px solid var(--loteria-red) !important;
}

.lm-memory-collage,
.lm-memory-board,
.lm-sample-art {
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.lm-ai-card {
  border-color: rgba(21, 17, 15, 0.1);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
}

.lm-ai-arrow {
  background: linear-gradient(135deg, var(--loteria-blue), var(--loteria-magenta)) !important;
  box-shadow: 0 14px 30px rgba(41, 189, 242, 0.2);
}

.landing-redesign .site-footer {
  border-radius: 34px 34px 0 0;
  box-shadow: none;
}

/* Builder, projects, account, legal */
.builder-page {
  --studio-bg: var(--gallery-canvas);
  --studio-canvas: var(--gallery-white);
  --studio-surface: rgba(255, 255, 255, 0.86);
  --studio-surface-strong: rgba(255, 255, 255, 0.96);
  --studio-ink: var(--gallery-ink);
  --studio-muted: var(--gallery-muted);
  --studio-soft: #8b94a3;
  --studio-red: var(--loteria-magenta);
  --studio-red-dark: #bf1f70;
  --studio-green: var(--loteria-green);
  --studio-gold: var(--loteria-yellow);
  --studio-line: rgba(21, 17, 15, 0.1);
  --studio-line-strong: rgba(21, 17, 15, 0.18);
  --studio-shadow: 0 24px 70px rgba(15, 23, 42, 0.11);
  --studio-soft-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.builder-page .builder-shell,
.project-hub-page .builder-shell,
.account-page .builder-shell,
.legal-page .builder-shell {
  background: transparent !important;
}

.builder-page .builder-intro,
.project-hub-hero,
.dashboard-panel,
.builder-panel,
.builder-page .studio-panel,
.builder-page .studio-action-card,
.builder-page .download-card,
.builder-page .generator-card,
.builder-page .template-section-card,
.builder-page .text-style-card,
.builder-page .design-control-card,
.builder-page .label-style-panel,
.builder-page .photo-edit,
.builder-page .upload-progress-card,
.builder-page .cards-main-head,
.builder-page .ai-glow-panel,
.builder-page .project-start-card,
.project-action-card,
.saved-project-card,
.signin-project-callout {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(21, 17, 15, 0.1) !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08) !important;
}

.builder-page .studio-panel-header,
.builder-page .studio-sidebar,
.builder-page .studio-main {
  background: rgba(255, 255, 255, 0.72) !important;
  border-color: rgba(21, 17, 15, 0.1) !important;
}

.builder-page .studio-main {
  background:
    radial-gradient(circle at 10% 6%, rgba(41, 189, 242, 0.08), transparent 18rem),
    rgba(255, 255, 255, 0.72) !important;
}

.builder-page input,
.builder-page select,
.builder-page textarea,
.builder-page .template-select-label select,
.builder-page .color-inline,
.builder-page .weight-picker,
.builder-page .alignment-picker {
  background: var(--gallery-white) !important;
  border-color: rgba(21, 17, 15, 0.12) !important;
  color: var(--gallery-ink) !important;
}

.builder-page input:focus,
.builder-page select:focus,
.builder-page textarea:focus {
  border-color: rgba(41, 189, 242, 0.52) !important;
  box-shadow: 0 0 0 4px rgba(41, 189, 242, 0.14) !important;
}

.builder-page .drop-zone {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.84)),
    repeating-linear-gradient(135deg, rgba(41, 189, 242, 0.06) 0 1px, transparent 1px 12px) !important;
  border-color: rgba(236, 47, 145, 0.32) !important;
}

.builder-page .drop-art {
  background:
    linear-gradient(135deg, var(--loteria-blue) 0 28%, var(--loteria-yellow) 28% 54%, var(--loteria-magenta) 54% 78%, var(--loteria-green) 78%) !important;
}

.builder-page .cards-main-head span,
.builder-page .crop-toggle button.active,
.builder-page .alignment-picker button.active,
.builder-page .weight-picker button.active,
.dashboard-tabs button.active,
.step-pill.active {
  background: var(--gallery-ink) !important;
  color: var(--gallery-white) !important;
}

.builder-page .card-editor,
.builder-page .saved-project-card {
  background: var(--gallery-white) !important;
  border-color: rgba(21, 17, 15, 0.1) !important;
}

.builder-page .card-editor:hover,
.project-action-card:hover,
.saved-project-card:hover {
  border-color: rgba(41, 189, 242, 0.32) !important;
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.12) !important;
}

.builder-page .cards-studio-panel .ai-glow-panel {
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 211, 51, 0.2), transparent 18rem),
    radial-gradient(circle at 90% 82%, rgba(98, 70, 217, 0.12), transparent 16rem),
    var(--gallery-white) !important;
  border-left: 6px solid var(--loteria-purple) !important;
}

.builder-page .stepper {
  background:
    linear-gradient(90deg, rgba(41, 189, 242, 0.1), rgba(32, 165, 90, 0.09), rgba(255, 211, 51, 0.12), rgba(236, 47, 145, 0.09), rgba(98, 70, 217, 0.1)),
    rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(21, 17, 15, 0.1) !important;
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08) !important;
  gap: 7px;
  padding: 8px;
}

.builder-page .stepper::before {
  background: linear-gradient(90deg, var(--loteria-blue), var(--loteria-green), var(--loteria-yellow), var(--loteria-magenta), var(--loteria-purple));
  height: 3px;
  left: 42px;
  opacity: 0.26;
  right: 42px;
}

.builder-page .step-pill {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 17, 15, 0.08);
  border-radius: 999px;
  color: var(--gallery-muted);
  min-height: 46px;
}

.builder-page .step-pill span {
  background: #ffffff;
  border: 1px solid rgba(21, 17, 15, 0.12);
  color: var(--gallery-muted);
}

.builder-page .step-pill.active {
  background: linear-gradient(135deg, var(--loteria-magenta), var(--loteria-red)) !important;
  box-shadow: 0 16px 34px rgba(236, 47, 145, 0.2) !important;
  color: #ffffff !important;
}

.builder-page .step-pill.active span {
  background: #ffffff !important;
  color: var(--loteria-magenta) !important;
}

.builder-page .step-pill.complete:not(.active) {
  background: rgba(32, 165, 90, 0.08);
  border-color: rgba(32, 165, 90, 0.18);
  color: #12733d;
}

.builder-page .step-pill.complete:not(.active) span {
  background: var(--loteria-green);
  border-color: var(--loteria-green);
  color: #ffffff;
}

.builder-page .ai-settings-card {
  --card-accent: var(--loteria-purple);
  background:
    linear-gradient(180deg, var(--card-accent) 0 7px, transparent 7px),
    radial-gradient(circle at 100% 0%, rgba(98, 70, 217, 0.16), transparent 8rem),
    rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(98, 70, 217, 0.18);
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 12px;
  padding: 15px;
}

.builder-page .section-minihead.compact {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin: 0;
}

.builder-page .section-minihead.compact span {
  color: var(--gallery-ink);
  font-size: 0.72rem;
}

.builder-page .ai-settings-card .soft-copy {
  font-size: 0.82rem;
  margin: 0;
}

.builder-page .ai-token-pill.compact {
  align-items: center;
  background: linear-gradient(135deg, rgba(98, 70, 217, 0.1), rgba(41, 189, 242, 0.1));
  border: 1px solid rgba(98, 70, 217, 0.18);
  border-radius: 16px;
  box-shadow: none;
  display: flex;
  justify-content: space-between;
  min-height: 46px;
  padding: 10px 12px;
}

.builder-page .ai-token-pill.compact strong {
  color: var(--loteria-purple);
  font-size: 1.35rem;
}

.builder-page .ai-style-pills.compact {
  grid-template-columns: 1fr 1fr;
}

.builder-page .ai-style-pills.compact button,
.builder-page .ai-quality-toggle button {
  font-size: 0.78rem;
  min-height: 38px;
  padding: 8px;
}

.builder-page .ai-bulk-bar.compact {
  align-items: center;
  background: rgba(255, 211, 51, 0.16);
  border: 1px solid rgba(255, 211, 51, 0.32);
  border-radius: 14px;
  color: var(--gallery-ink);
  font-size: 0.82rem;
  font-weight: 850;
  padding: 10px 12px;
}

.builder-page .studio-action-card.ai {
  --card-accent: var(--loteria-purple);
  background:
    linear-gradient(180deg, var(--card-accent) 0 8px, transparent 8px),
    radial-gradient(circle at 96% 4%, rgba(98, 70, 217, 0.2), transparent 8rem),
    radial-gradient(circle at 0% 100%, rgba(236, 47, 145, 0.12), transparent 9rem),
    #ffffff !important;
}

.builder-page .ai-guidance-preview {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto 1fr;
  margin: 12px 0;
}

.builder-page .ai-mini-card {
  background: #fff7df;
  border: 2px solid #ffffff;
  border-radius: 15px;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.12);
  display: grid;
  gap: 5px;
  overflow: hidden;
  padding: 6px;
  transform: rotate(-3deg);
}

.builder-page .ai-mini-card.illustrated {
  border-color: rgba(255, 211, 51, 0.8);
  transform: rotate(3deg);
}

.builder-page .ai-mini-card img,
.builder-page .ai-mini-card span {
  aspect-ratio: 2.5 / 3.5;
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(21, 17, 15, 0.46);
  border-radius: 10px 10px 3px 3px;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.builder-page .ai-mini-card b {
  color: var(--gallery-ink);
  font-size: 0.62rem;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.builder-page .ai-mini-arrow {
  align-items: center;
  background: linear-gradient(135deg, var(--loteria-yellow), var(--loteria-magenta), var(--loteria-blue));
  border-radius: 999px;
  color: #ffffff;
  display: flex;
  font-size: 0.68rem;
  font-weight: 950;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.builder-page .ai-guidance-balance {
  align-items: center;
  background: rgba(98, 70, 217, 0.08);
  border: 1px solid rgba(98, 70, 217, 0.14);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  margin: 8px 0 12px;
  padding: 10px 12px;
}

.builder-page .ai-guidance-balance strong {
  color: var(--loteria-purple);
  font-size: 1.5rem;
}

/* Builder header: studio cover + compact progress */
.builder-page .builder-intro {
  align-items: stretch !important;
  background:
    linear-gradient(90deg, rgba(41, 189, 242, 0.16) 0 6px, transparent 6px),
    radial-gradient(circle at 5% 0%, rgba(41, 189, 242, 0.14), transparent 19rem),
    radial-gradient(circle at 96% 18%, rgba(236, 47, 145, 0.1), transparent 18rem),
    rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(21, 17, 15, 0.1) !important;
  border-radius: 30px !important;
  box-shadow: 0 20px 54px rgba(15, 23, 42, 0.09) !important;
  display: grid !important;
  gap: clamp(18px, 2.6vw, 42px) !important;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.56fr) !important;
  margin: 10px 0 14px !important;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px) !important;
  position: relative;
}

.builder-page .builder-intro::after {
  background: linear-gradient(90deg, var(--loteria-blue), var(--loteria-green), var(--loteria-yellow), var(--loteria-magenta), var(--loteria-purple));
  border-radius: 999px;
  bottom: 0;
  content: "";
  height: 5px;
  left: 18px;
  opacity: 0.95;
  position: absolute;
  right: 18px;
}

.builder-page .builder-intro > div:first-child {
  align-self: end;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.builder-page .builder-intro .eyebrow {
  color: var(--loteria-magenta) !important;
  margin-bottom: 8px !important;
}

.builder-page .builder-intro h1 {
  font-size: clamp(2.8rem, 4.6vw, 5rem) !important;
  letter-spacing: -0.075em !important;
  line-height: 0.92 !important;
  margin: 0 !important;
  max-width: 760px;
}

.builder-page .builder-intro-side {
  align-content: center;
  align-self: stretch;
  display: grid;
  gap: 12px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.builder-page .builder-intro-side > p {
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(21, 17, 15, 0.08);
  border-radius: 18px;
  color: rgba(25, 24, 24, 0.76);
  font-size: clamp(0.9rem, 1vw, 1.02rem);
  line-height: 1.42;
  margin: 0;
  max-width: none;
  padding: 12px 14px;
}

.builder-page .builder-intro .purchase-wallet.compact-wallet {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(21, 17, 15, 0.1) !important;
  border-radius: 20px !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.68), 0 13px 30px rgba(15, 23, 42, 0.07) !important;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr) auto !important;
  padding: 12px !important;
}

.builder-page .builder-intro .compact-wallet-status strong {
  font-size: 1.02rem;
}

.builder-page .builder-intro .compact-wallet-status small {
  color: rgba(25, 24, 24, 0.62);
}

.builder-page .builder-intro .compact-wallet-pills {
  align-items: center;
}

.builder-page .builder-intro .compact-wallet-pills span,
.builder-page .builder-intro .compact-wallet-pills a {
  background: #ffffff !important;
  border-color: rgba(21, 17, 15, 0.1) !important;
  min-height: 30px;
  padding: 5px 9px;
}

.builder-page .builder-intro .compact-wallet-actions:empty {
  display: none;
}

.builder-page .stepper {
  align-items: center;
  background: #ffffff !important;
  border: 1px solid rgba(21, 17, 15, 0.1) !important;
  border-radius: 999px !important;
  box-shadow: 0 15px 38px rgba(15, 23, 42, 0.08) !important;
  gap: 7px !important;
  margin-bottom: 18px !important;
  min-height: 60px;
  padding: 8px !important;
}

.builder-page .stepper::before {
  background: linear-gradient(90deg, var(--loteria-blue), var(--loteria-green), var(--loteria-yellow), var(--loteria-magenta), var(--loteria-purple)) !important;
  height: 2px !important;
  left: 34px !important;
  opacity: 0.22 !important;
  right: 34px !important;
  top: 50% !important;
}

.builder-page .step-pill {
  background: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  gap: 9px !important;
  justify-content: center;
  min-height: 43px !important;
  padding: 7px 11px !important;
  position: relative;
}

.builder-page .step-pill span {
  height: 27px !important;
  min-width: 27px !important;
  width: 27px !important;
}

.builder-page .step-pill.active {
  background: linear-gradient(135deg, var(--loteria-magenta), var(--loteria-red)) !important;
  border-color: transparent !important;
  box-shadow: 0 16px 30px rgba(236, 47, 145, 0.18) !important;
  transform: none !important;
}

.builder-page .step-pill.complete:not(.active) {
  background: rgba(32, 165, 90, 0.1) !important;
  border-color: rgba(32, 165, 90, 0.18) !important;
}

.builder-page .step-pill.locked {
  background: rgba(248, 250, 252, 0.72) !important;
  opacity: 0.62;
}

@media (max-width: 1080px) {
  .builder-page .builder-intro {
    grid-template-columns: 1fr !important;
  }

  .builder-page .builder-intro-side {
    align-content: start;
  }

  .builder-page .builder-intro .purchase-wallet.compact-wallet {
    grid-template-columns: 1fr !important;
  }

  .builder-page .builder-intro .compact-wallet-actions,
  .builder-page .builder-intro .square-pass-mini {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .builder-page .builder-intro {
    border-radius: 24px !important;
    margin-top: 8px !important;
    padding: 18px !important;
  }

  .builder-page .builder-intro::after {
    left: 14px;
    right: 14px;
  }

  .builder-page .builder-intro h1 {
    font-size: clamp(2.55rem, 15vw, 4.2rem) !important;
    letter-spacing: -0.065em !important;
  }

  .builder-page .builder-intro-side > p {
    font-size: 0.9rem;
    padding: 11px 12px;
  }

  .builder-page .stepper {
    border-radius: 24px !important;
    display: grid !important;
    grid-auto-columns: minmax(148px, 58vw);
    grid-auto-flow: column;
    grid-template-columns: none !important;
    min-height: auto;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 8px !important;
    scroll-padding-inline: 8px;
    scroll-snap-type: x proximity;
  }

  .builder-page .stepper::before {
    display: none;
  }

  .builder-page .step-pill {
    justify-content: center;
    min-height: 40px !important;
    scroll-snap-align: start;
    white-space: nowrap;
    width: auto;
  }
}

.access-status-badge,
.purchase-wallet.compact-wallet,
.project-access-callout,
.attempt-notice,
.finalize-panel {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(21, 17, 15, 0.1) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.access-status-badge.available,
.access-status-badge.paid,
.access-status-badge.admin {
  border-left-color: var(--loteria-green) !important;
}

.access-status-badge.needed,
.attempt-notice {
  border-left-color: var(--loteria-yellow) !important;
}

.access-status-badge.locked {
  border-left-color: var(--loteria-purple) !important;
}

.project-hub-stats article {
  background: var(--gallery-white) !important;
  border: 1px solid rgba(21, 17, 15, 0.1) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.project-action-card.new-project-card {
  border-left: 7px solid var(--loteria-blue) !important;
}

/* Admin and analytics */
.admin-page {
  --admin-ink: var(--gallery-ink);
  --admin-muted: var(--gallery-muted);
  --admin-red: var(--loteria-magenta);
  --admin-green: var(--loteria-green);
  --admin-gold: var(--loteria-yellow);
  --admin-line: rgba(21, 17, 15, 0.1);
  --admin-surface: rgba(255, 255, 255, 0.92);
}

.admin-hero-panel,
.admin-page .admin-summary-grid article,
.admin-page .admin-list-panel,
.admin-page .admin-manager-card,
.admin-page .admin-detail-card,
.admin-page .admin-code-card,
.admin-page .admin-context-card,
.ios-analytics-hero,
.ios-report-card,
.ios-table-card,
.ios-metric-card,
.ios-insight-strip article {
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(21, 17, 15, 0.1) !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08) !important;
}

.admin-page .admin-tabs,
.ios-section-nav {
  background: rgba(255, 255, 255, 0.86) !important;
  border-color: rgba(21, 17, 15, 0.1) !important;
}

.admin-page .admin-tabs button.active,
.admin-page .admin-tabs button:hover,
.ios-section-nav button.active {
  background: var(--gallery-ink) !important;
  color: var(--gallery-white) !important;
}

.ios-analytics-hero,
.ios-report-card.featured,
.ios-metric-card {
  background:
    radial-gradient(circle at 88% 8%, rgba(41, 189, 242, 0.1), transparent 16rem),
    var(--gallery-white) !important;
}

.ios-event-chip {
  background: rgba(41, 189, 242, 0.12) !important;
  border-color: rgba(41, 189, 242, 0.22) !important;
  color: #087ca0 !important;
}

.ios-funnel-chart > article > i b,
.mixing-bar span,
.frequency-mini i {
  background: linear-gradient(90deg, var(--loteria-blue), var(--loteria-green), var(--loteria-yellow), var(--loteria-magenta)) !important;
}

/* Lotería gallery card accents */
.lm-step-card,
.lm-feature-tile,
.lm-sample-card,
.lm-review-card,
.physical-product-card,
.project-action-card,
.saved-project-card,
.builder-page .card-editor,
.builder-page .studio-action-card,
.builder-page .download-card,
.builder-page .generator-card,
.builder-page .template-section-card,
.builder-page .text-style-card,
.builder-page .design-control-card,
.builder-page .label-style-panel,
.builder-page .upload-progress-card,
.admin-page .admin-summary-grid article,
.admin-page .admin-manager-card,
.admin-page .admin-detail-card,
.admin-page .admin-code-card,
.admin-page .admin-context-card,
.admin-page .admin-deck-card,
.ios-metric-card,
.ios-report-card {
  --card-accent: var(--loteria-blue);
  background:
    linear-gradient(180deg, var(--card-accent) 0 8px, transparent 8px),
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--card-accent) 22%, transparent), transparent 9rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.88)) !important;
  border-color: color-mix(in srgb, var(--card-accent) 24%, rgba(21, 17, 15, 0.1)) !important;
  overflow: hidden;
  position: relative;
}

.lm-step-card::before,
.lm-feature-tile::before,
.lm-sample-card::before,
.lm-review-card::before,
.physical-product-card::before,
.project-action-card::before,
.saved-project-card::before,
.builder-page .card-editor::before,
.builder-page .studio-action-card::before,
.builder-page .download-card::before,
.builder-page .generator-card::before,
.builder-page .template-section-card::before,
.builder-page .text-style-card::before,
.builder-page .design-control-card::before,
.builder-page .label-style-panel::before,
.builder-page .upload-progress-card::before,
.admin-page .admin-summary-grid article::before,
.admin-page .admin-manager-card::before,
.admin-page .admin-detail-card::before,
.admin-page .admin-code-card::before,
.admin-page .admin-context-card::before,
.admin-page .admin-deck-card::before,
.ios-metric-card::before,
.ios-report-card::before {
  background:
    radial-gradient(circle, var(--card-accent) 0 3px, transparent 3.5px),
    radial-gradient(circle, var(--card-accent) 0 2px, transparent 2.5px);
  background-position: 0 0, 10px 12px;
  background-size: 20px 20px;
  border-radius: 999px;
  content: "";
  height: 42px;
  opacity: 0.18;
  pointer-events: none;
  position: absolute;
  right: 14px;
  top: 14px;
  width: 42px;
}

.lm-step-card:nth-child(6n + 1),
.lm-feature-tile:nth-child(6n + 1),
.lm-sample-card:nth-child(6n + 1),
.lm-review-card:nth-child(6n + 1),
.saved-project-card:nth-child(6n + 1),
.builder-page .card-editor:nth-child(6n + 1),
.admin-page .admin-summary-grid article:nth-child(6n + 1),
.admin-page .admin-deck-card:nth-child(6n + 1),
.ios-metric-card:nth-child(6n + 1),
.ios-report-card:nth-child(6n + 1) {
  --card-accent: var(--loteria-blue);
}

.lm-step-card:nth-child(6n + 2),
.lm-feature-tile:nth-child(6n + 2),
.lm-sample-card:nth-child(6n + 2),
.lm-review-card:nth-child(6n + 2),
.saved-project-card:nth-child(6n + 2),
.builder-page .card-editor:nth-child(6n + 2),
.admin-page .admin-summary-grid article:nth-child(6n + 2),
.admin-page .admin-deck-card:nth-child(6n + 2),
.ios-metric-card:nth-child(6n + 2),
.ios-report-card:nth-child(6n + 2) {
  --card-accent: var(--loteria-green);
}

.lm-step-card:nth-child(6n + 3),
.lm-feature-tile:nth-child(6n + 3),
.lm-sample-card:nth-child(6n + 3),
.lm-review-card:nth-child(6n + 3),
.saved-project-card:nth-child(6n + 3),
.builder-page .card-editor:nth-child(6n + 3),
.admin-page .admin-summary-grid article:nth-child(6n + 3),
.admin-page .admin-deck-card:nth-child(6n + 3),
.ios-metric-card:nth-child(6n + 3),
.ios-report-card:nth-child(6n + 3) {
  --card-accent: var(--loteria-yellow);
}

.lm-step-card:nth-child(6n + 4),
.lm-feature-tile:nth-child(6n + 4),
.lm-sample-card:nth-child(6n + 4),
.lm-review-card:nth-child(6n + 4),
.saved-project-card:nth-child(6n + 4),
.builder-page .card-editor:nth-child(6n + 4),
.admin-page .admin-summary-grid article:nth-child(6n + 4),
.admin-page .admin-deck-card:nth-child(6n + 4),
.ios-metric-card:nth-child(6n + 4),
.ios-report-card:nth-child(6n + 4) {
  --card-accent: var(--loteria-magenta);
}

.lm-step-card:nth-child(6n + 5),
.lm-feature-tile:nth-child(6n + 5),
.lm-sample-card:nth-child(6n + 5),
.lm-review-card:nth-child(6n + 5),
.saved-project-card:nth-child(6n + 5),
.builder-page .card-editor:nth-child(6n + 5),
.admin-page .admin-summary-grid article:nth-child(6n + 5),
.admin-page .admin-deck-card:nth-child(6n + 5),
.ios-metric-card:nth-child(6n + 5),
.ios-report-card:nth-child(6n + 5) {
  --card-accent: var(--loteria-purple);
}

.lm-step-card:nth-child(6n + 6),
.lm-feature-tile:nth-child(6n + 6),
.lm-sample-card:nth-child(6n + 6),
.lm-review-card:nth-child(6n + 6),
.saved-project-card:nth-child(6n + 6),
.builder-page .card-editor:nth-child(6n + 6),
.admin-page .admin-summary-grid article:nth-child(6n + 6),
.admin-page .admin-deck-card:nth-child(6n + 6),
.ios-metric-card:nth-child(6n + 6),
.ios-report-card:nth-child(6n + 6) {
  --card-accent: var(--loteria-red);
}

.project-action-card.new-project-card,
.builder-page .cards-studio-panel .ai-glow-panel,
.ios-report-card.featured {
  --card-accent: var(--loteria-magenta);
}

.ios-overview-trend-card.featured {
  --card-accent: var(--loteria-blue);
}

.builder-page .studio-action-card,
.builder-page .download-card,
.builder-page .generator-card,
.builder-page .template-section-card,
.builder-page .text-style-card,
.builder-page .design-control-card,
.builder-page .label-style-panel,
.builder-page .upload-progress-card,
.admin-page .admin-manager-card,
.admin-page .admin-detail-card,
.admin-page .admin-code-card,
.admin-page .admin-context-card {
  box-shadow:
    inset 0 6px 0 var(--card-accent),
    0 18px 45px rgba(15, 23, 42, 0.08) !important;
}

/* Landing story rows: brighter Lotería editorial cards */
.landing-redesign .lm-statements {
  background:
    radial-gradient(circle at 8% 0%, rgba(41, 189, 242, 0.12), transparent 18rem),
    radial-gradient(circle at 92% 100%, rgba(236, 47, 145, 0.1), transparent 18rem),
    rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(21, 17, 15, 0.08);
  gap: 18px;
  padding: clamp(18px, 2.6vw, 30px);
}

.landing-redesign .lm-statement {
  --story-accent: var(--loteria-blue);
  --story-accent-2: var(--loteria-yellow);
  align-items: stretch;
  background:
    linear-gradient(90deg, var(--story-accent) 0 10px, transparent 10px),
    radial-gradient(circle at 3% 18%, color-mix(in srgb, var(--story-accent) 20%, transparent), transparent 12rem),
    radial-gradient(circle at 98% 8%, color-mix(in srgb, var(--story-accent-2) 18%, transparent), transparent 14rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92)) !important;
  border: 1px solid color-mix(in srgb, var(--story-accent) 26%, rgba(21, 17, 15, 0.1)) !important;
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.09) !important;
  gap: clamp(20px, 3vw, 42px);
  grid-template-columns: minmax(210px, 0.34fr) minmax(0, 1fr);
  overflow: hidden;
  padding: clamp(22px, 3vw, 38px);
  position: relative;
}

.landing-redesign .lm-statement.reveal-pending,
.landing-redesign .lm-statement.reveal-pending.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

.landing-redesign .lm-statement:nth-child(1) {
  --story-accent: var(--loteria-blue);
  --story-accent-2: var(--loteria-magenta);
}

.landing-redesign .lm-statement:nth-child(2) {
  --story-accent: var(--loteria-red);
  --story-accent-2: var(--loteria-yellow);
}

.landing-redesign .lm-statement:nth-child(3) {
  --story-accent: var(--loteria-green);
  --story-accent-2: var(--loteria-purple);
}

.landing-redesign .lm-statement::before {
  background:
    radial-gradient(circle, var(--story-accent) 0 3px, transparent 3.6px),
    radial-gradient(circle, var(--story-accent-2) 0 2.5px, transparent 3px);
  background-position: 0 0, 12px 12px;
  background-size: 24px 24px;
  border-radius: 999px;
  content: "";
  height: 82px;
  opacity: 0.16;
  pointer-events: none;
  position: absolute;
  right: 22px;
  top: 18px;
  width: 82px;
}

.landing-redesign .lm-statement::after {
  background:
    linear-gradient(135deg, transparent 0 34%, var(--story-accent) 34% 50%, transparent 50% 62%, var(--story-accent-2) 62% 78%, transparent 78%);
  bottom: 0;
  content: "";
  height: 18px;
  left: 0;
  opacity: 0.9;
  position: absolute;
  right: 0;
}

.landing-redesign .lm-statement-media {
  align-self: center;
  background-color: color-mix(in srgb, var(--story-accent) 16%, #ffffff);
  border: 8px solid color-mix(in srgb, var(--story-accent) 18%, #ffffff);
  border-radius: 24px;
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.14);
  min-height: 170px;
  position: relative;
  transform: rotate(-1.5deg);
}

.landing-redesign .lm-statement:nth-child(2) .lm-statement-media {
  transform: rotate(1.5deg);
}

.landing-redesign .lm-statement:nth-child(3) .lm-statement-media {
  transform: rotate(-0.75deg);
}

.landing-redesign .lm-statement > div:not(.lm-statement-media) {
  align-self: center;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.landing-redesign .lm-statement > div > span {
  background: var(--story-accent) !important;
  border: 0 !important;
  border-radius: 999px;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--story-accent) 24%, transparent);
  color: #ffffff !important;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 9px 12px;
}

.landing-redesign .lm-statement h2 {
  color: var(--gallery-ink) !important;
  font-size: clamp(2.15rem, 4vw, 4.8rem);
  line-height: 0.9;
  margin-top: 14px;
  max-width: 780px;
}

.landing-redesign .lm-statement h2 .reveal-word,
.landing-redesign .lm-statement h2 span {
  color: inherit;
}

.landing-redesign .lm-statement p {
  color: var(--gallery-muted) !important;
  font-size: clamp(1rem, 1.08vw, 1.18rem);
  line-height: 1.48;
  margin-top: 14px;
  max-width: 660px;
}

@media (max-width: 700px) {
  .landing-redesign {
    background:
      radial-gradient(circle at 12% 6%, rgba(41, 189, 242, 0.12), transparent 18rem),
      linear-gradient(180deg, var(--gallery-white) 0%, var(--gallery-canvas) 100%) !important;
    overflow-x: clip;
  }

  .landing-redesign .top-nav {
    border-radius: 0 0 22px 22px;
  }

  .landing-redesign .nav-links {
    background: rgba(255, 255, 255, 0.98) !important;
    border-color: rgba(21, 17, 15, 0.1);
  }

  .lm-hero {
    border-radius: 0 0 30px 30px;
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
  }

  .lm-hero-copy {
    max-width: 100%;
    min-width: 0;
    width: min(100%, 330px);
  }

  .lm-hero h1 {
    font-size: clamp(2.7rem, 13.2vw, 3.75rem) !important;
    letter-spacing: -0.052em !important;
    line-height: 0.84 !important;
    max-width: 100%;
  }

  .lm-hero h1 em {
    font-size: clamp(1.55rem, 8vw, 2.15rem) !important;
    letter-spacing: -0.035em !important;
    line-height: 0.98 !important;
    max-width: 12.5ch;
  }

  .lm-hero-sub,
  .lm-proof-row {
    max-width: 100%;
    width: 100%;
  }

  .lm-kicker,
  .lm-hero-sub {
    overflow-wrap: anywhere;
  }

  .lm-hero-actions {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .lm-hero-actions .large,
  .lm-hero-actions .ghost-link {
    justify-content: center;
    width: 100%;
  }

  .lm-hero-stage {
    max-width: 100%;
    overflow: hidden;
    width: 100%;
  }

  .lm-hero-stage .hero-showcase {
    display: grid;
    justify-items: center;
    height: auto;
    min-height: 0;
    width: min(100%, 330px);
  }

  .lm-hero-stage .hero-replacement-image img {
    max-width: 100%;
  }

  .lm-hero-stage .realistic-board {
    justify-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
    width: min(80vw, 280px) !important;
  }

  .lm-hero-stage .hero-deck-stack,
  .lm-hero-stage .hero-floating-cards {
    display: none;
  }

  .lm-intro,
  .lm-ai-promo,
  .lm-process,
  .lm-feature-showcase,
  .lm-statements,
  .lm-gallery,
  .lm-print-section,
  .lm-reviews,
  .landing-redesign .seo-faq-section,
  .landing-redesign .seo-related-section,
  .lm-final-cta {
    border-radius: 26px;
    margin-left: 10px;
    margin-right: 10px;
  }
}

/* Landing content sections: tighten the editorial blocks that were getting cramped. */
.landing-redesign .lm-process,
.landing-redesign .lm-feature-showcase,
.landing-redesign .seo-related-section {
  overflow: hidden;
  padding: clamp(28px, 4vw, 54px) clamp(18px, 4vw, 48px) !important;
}

.landing-redesign .lm-process .lm-section-head,
.landing-redesign .lm-feature-showcase .lm-section-head,
.landing-redesign .seo-related-section .lm-section-head {
  align-items: start !important;
  display: grid !important;
  gap: 12px 30px !important;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr) !important;
  margin-bottom: 20px !important;
}

.landing-redesign .lm-process .lm-section-head .lm-kicker,
.landing-redesign .lm-feature-showcase .lm-section-head .lm-kicker,
.landing-redesign .seo-related-section .lm-section-head .lm-kicker {
  align-self: end;
  grid-column: 1;
  letter-spacing: 0.16em;
  margin: 0 0 4px;
}

.landing-redesign .lm-process .lm-section-head h2,
.landing-redesign .lm-feature-showcase .lm-section-head h2,
.landing-redesign .seo-related-section .lm-section-head h2 {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: clamp(2.2rem, 3.75vw, 4.45rem) !important;
  letter-spacing: -0.05em;
  line-height: 0.9;
  max-width: 690px;
  text-wrap: balance;
}

.landing-redesign .lm-process .lm-section-head p:not(.lm-kicker),
.landing-redesign .lm-feature-showcase .lm-section-head p:not(.lm-kicker),
.landing-redesign .seo-related-section .lm-section-head p:not(.lm-kicker) {
  grid-column: 1;
  font-size: clamp(0.92rem, 1vw, 1.02rem) !important;
  line-height: 1.48;
  max-width: 380px;
}

.landing-redesign .lm-step-grid,
.landing-redesign .lm-feature-grid {
  gap: clamp(12px, 1.5vw, 18px);
}

.landing-redesign .lm-step-card,
.landing-redesign .lm-feature-tile {
  border-radius: 20px;
  min-height: 0;
  padding: clamp(16px, 1.8vw, 22px);
}

.landing-redesign .lm-step-card > span {
  font-size: 0.78rem;
  margin-bottom: 14px;
  padding: 7px 10px;
}

.landing-redesign .lm-step-card h3,
.landing-redesign .lm-feature-tile h3 {
  font-size: clamp(1.05rem, 1.35vw, 1.35rem) !important;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: 8px;
}

.landing-redesign .lm-step-card p,
.landing-redesign .lm-feature-tile p {
  font-size: clamp(0.82rem, 0.9vw, 0.94rem);
  line-height: 1.42;
}

.landing-redesign .lm-feature-tile .marketing-icon {
  height: 46px;
  margin-bottom: 14px;
  width: 46px;
}

.landing-redesign .lm-feature-tile .marketing-icon svg {
  height: 25px;
  width: 25px;
}

.landing-redesign .seo-related-section {
  min-height: 0;
}

.landing-redesign .seo-related-section .lm-section-head {
  margin-bottom: 8px !important;
}

.landing-redesign .seo-related-section .seo-topic-links {
  gap: 8px;
  justify-content: flex-start;
  max-width: 800px;
}

.landing-redesign .seo-related-section .seo-topic-links a {
  border-radius: 999px;
  font-size: 0.78rem;
  padding: 9px 12px;
}

.landing-redesign .seo-page-directory {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.landing-redesign .seo-page-directory-group {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 235, 0.9)),
    radial-gradient(circle at 100% 0, rgba(41, 189, 242, 0.12), transparent 11rem);
  border: 1px solid rgba(20, 12, 8, 0.1);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
  overflow: hidden;
  padding: 18px;
}

.landing-redesign .seo-page-directory-group:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 235, 0.9)),
    radial-gradient(circle at 100% 0, rgba(31, 160, 96, 0.12), transparent 11rem);
}

.landing-redesign .seo-page-directory-group:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 235, 0.9)),
    radial-gradient(circle at 100% 0, rgba(236, 47, 145, 0.12), transparent 11rem);
}

.landing-redesign .seo-page-directory-group h3 {
  color: var(--gallery-ink);
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 12px;
}

.landing-redesign .seo-page-directory-group > div {
  display: grid;
  gap: 8px;
}

.landing-redesign .seo-page-directory-group a {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 12, 8, 0.08);
  border-radius: 16px;
  color: var(--gallery-ink);
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.landing-redesign .seo-page-directory-group a:hover {
  border-color: rgba(236, 47, 145, 0.35);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.landing-redesign .seo-page-directory-group strong {
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.landing-redesign .seo-page-directory-group span {
  color: var(--gallery-muted);
  font-size: 0.76rem;
  font-weight: 720;
  line-height: 1.25;
}

.landing-redesign .seo-page-directory.compact {
  gap: 12px;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  margin-top: 0;
}

.landing-redesign .seo-page-directory.compact .seo-page-directory-group {
  border-radius: 18px;
  padding: 14px;
}

.landing-redesign .seo-page-directory.compact .seo-page-directory-group h3 {
  color: var(--gallery-ink);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-redesign .seo-page-directory.compact .seo-page-directory-group a {
  background: rgba(255, 255, 255, 0.68);
  border-radius: 12px;
  color: var(--gallery-ink);
  display: block;
  padding: 7px 9px;
}

.landing-redesign .seo-page-directory.compact .seo-page-directory-group a:hover {
  color: var(--loteria-magenta);
}

.landing-redesign .site-footer-links {
  display: grid;
  gap: 24px;
  min-width: min(760px, 100%);
}

.landing-redesign .site-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.landing-redesign .site-footer .seo-page-directory.compact {
  gap: 18px;
}

.landing-redesign .site-footer .seo-page-directory.compact .seo-page-directory-group {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.landing-redesign .site-footer .seo-page-directory.compact .seo-page-directory-group h3 {
  color: rgba(255, 250, 240, 0.95);
}

.landing-redesign .site-footer .seo-page-directory.compact .seo-page-directory-group a {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: rgba(255, 250, 240, 0.76);
  padding: 4px 0;
}

.landing-redesign .site-footer .seo-page-directory.compact .seo-page-directory-group a:hover {
  box-shadow: none;
  color: #ffffff;
  transform: none;
}

.landing-redesign .compact-page-directory-section {
  padding-bottom: clamp(24px, 3vw, 38px) !important;
  padding-top: clamp(24px, 3vw, 38px) !important;
}

.landing-redesign .compact-page-directory-section .lm-section-head {
  margin-bottom: 18px !important;
}

.landing-redesign .compact-page-directory-section .lm-section-head h2 {
  font-size: clamp(1.75rem, 2.6vw, 3.2rem) !important;
  line-height: 0.96;
}

.landing-redesign .seo-mini-directory {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.landing-redesign .seo-mini-directory a {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 244, 220, 0.9));
  border: 1px solid rgba(20, 12, 8, 0.09);
  border-radius: 18px;
  color: var(--gallery-ink);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 13px 14px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.landing-redesign .seo-mini-directory a::after {
  color: var(--loteria-magenta);
  content: "→";
  font-size: 1.1rem;
  font-weight: 950;
}

.landing-redesign .seo-mini-directory a:hover {
  border-color: rgba(236, 47, 145, 0.32);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.landing-redesign .seo-mini-directory strong {
  display: block;
  font-size: 1rem;
  line-height: 1;
}

.landing-redesign .seo-mini-directory span {
  color: var(--gallery-muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 720;
  line-height: 1.2;
  margin-top: 4px;
}

.landing-redesign .content-hub-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(41, 189, 242, 0.1), transparent 18rem),
    radial-gradient(circle at 92% 8%, rgba(236, 47, 145, 0.08), transparent 20rem),
    rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(21, 17, 15, 0.08);
  border-radius: 34px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
  color: var(--gallery-ink);
  margin: 28px auto;
  max-width: 1360px;
  overflow: hidden;
  padding: clamp(30px, 4vw, 58px) clamp(18px, 4vw, 52px);
  position: relative;
  z-index: 2;
}

.landing-redesign .content-hub-section::before {
  background: linear-gradient(90deg, var(--loteria-blue), var(--loteria-green), var(--loteria-yellow), var(--loteria-magenta), var(--loteria-purple));
  content: "";
  height: 7px;
  left: clamp(18px, 4vw, 52px);
  position: absolute;
  right: clamp(18px, 4vw, 52px);
  top: 0;
}

.landing-redesign .content-hub-head {
  align-items: end;
  display: grid;
  gap: 14px clamp(22px, 4vw, 54px);
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  margin-bottom: clamp(20px, 3vw, 34px);
}

.landing-redesign .content-hub-head h2 {
  color: var(--gallery-ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.25rem, 4vw, 4.7rem);
  font-weight: 930;
  grid-column: 2;
  grid-row: 1 / span 2;
  letter-spacing: -0.05em;
  line-height: 0.92;
  margin: 0;
  max-width: 780px;
  text-wrap: balance;
}

.landing-redesign .content-hub-head p:not(.lm-kicker) {
  color: var(--gallery-muted);
  font-size: clamp(0.98rem, 1.08vw, 1.12rem);
  font-weight: 720;
  line-height: 1.52;
  margin: 0;
  max-width: 410px;
}

.landing-redesign .content-hub-grid {
  display: grid;
  gap: clamp(12px, 1.6vw, 18px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-redesign .content-hub-card {
  background: var(--gallery-white);
  border: 1px solid rgba(21, 17, 15, 0.1);
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  padding: clamp(18px, 2vw, 26px);
  position: relative;
}

.landing-redesign .content-hub-card::after {
  background: var(--loteria-blue);
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.landing-redesign .content-hub-card:nth-child(2)::after {
  background: var(--loteria-green);
}

.landing-redesign .content-hub-card:nth-child(3)::after {
  background: var(--loteria-magenta);
}

.landing-redesign .content-hub-card > span {
  align-items: center;
  background: rgba(41, 189, 242, 0.1);
  border: 1px solid rgba(41, 189, 242, 0.22);
  border-radius: 999px;
  color: #087ca0;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  line-height: 1;
  margin-bottom: 16px;
  padding: 7px 10px;
}

.landing-redesign .content-hub-card h3 {
  color: var(--gallery-ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.18rem, 1.55vw, 1.55rem);
  font-weight: 930;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0 0 10px;
}

.landing-redesign .content-hub-card p,
.landing-redesign .content-hub-card li {
  color: var(--gallery-muted);
  font-size: 0.94rem;
  font-weight: 680;
  line-height: 1.48;
}

.landing-redesign .content-hub-card p {
  margin: 0 0 14px;
}

.landing-redesign .content-hub-card ul {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.landing-redesign .content-hub-card li {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: auto 1fr;
}

.landing-redesign .content-hub-card li::before {
  background: var(--loteria-yellow);
  border-radius: 999px;
  content: "";
  height: 9px;
  width: 9px;
}

.landing-redesign .content-hub-cta {
  align-items: center;
  background:
    radial-gradient(circle at 92% 12%, rgba(250, 204, 21, 0.16), transparent 15rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(241, 250, 255, 0.82));
  border: 1px solid rgba(21, 17, 15, 0.1);
  border-radius: 26px;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: clamp(18px, 3vw, 32px);
  padding: clamp(20px, 3vw, 34px);
}

.landing-redesign .content-hub-cta h2 {
  color: var(--gallery-ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.7rem, 2.7vw, 3.1rem);
  font-weight: 930;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0;
}

.landing-redesign .content-hub-cta p:not(.lm-kicker) {
  color: var(--gallery-muted);
  font-weight: 720;
  line-height: 1.48;
  margin: 10px 0 0;
  max-width: 700px;
}

.landing-redesign .content-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.landing-redesign .content-article-section {
  align-items: start;
  background:
    radial-gradient(circle at 6% 4%, rgba(41, 189, 242, 0.11), transparent 18rem),
    radial-gradient(circle at 94% 10%, rgba(236, 47, 145, 0.09), transparent 20rem),
    rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(21, 17, 15, 0.08);
  border-radius: 34px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
  color: var(--gallery-ink);
  display: grid;
  gap: clamp(20px, 3vw, 42px);
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  margin: 28px auto;
  max-width: 1320px;
  padding: clamp(28px, 4vw, 58px);
  position: relative;
  z-index: 2;
}

.landing-redesign .content-article-section.content-card-guide-page {
  gap: clamp(18px, 2.4vw, 32px);
  grid-template-columns: minmax(0, 1fr);
  max-width: min(1680px, calc(100vw - 48px));
  padding: clamp(24px, 3vw, 44px);
}

.landing-redesign .content-card-guide-page .content-article-sidebar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  position: static;
}

.landing-redesign .content-article-section::before {
  background: linear-gradient(90deg, var(--loteria-blue), var(--loteria-green), var(--loteria-yellow), var(--loteria-magenta), var(--loteria-purple));
  border-radius: 999px;
  content: "";
  height: 7px;
  left: clamp(24px, 4vw, 58px);
  position: absolute;
  right: clamp(24px, 4vw, 58px);
  top: 0;
}

.landing-redesign .content-article-main {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 17, 15, 0.06);
  border-radius: 28px;
  display: grid;
  gap: 24px;
  padding: clamp(22px, 3.5vw, 44px);
}

.landing-redesign .content-article-header {
  border-bottom: 1px solid rgba(21, 17, 15, 0.1);
  display: grid;
  gap: 13px;
  padding-bottom: clamp(22px, 3vw, 34px);
}

.landing-redesign .content-article-header .lm-kicker {
  margin: 2px 0 0;
}

.landing-redesign .content-article-header h1 {
  color: var(--gallery-ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 0.9;
  margin: 0;
  max-width: 940px;
  text-wrap: balance;
}

.landing-redesign .content-article-header p:not(.lm-kicker) {
  color: var(--gallery-muted);
  font-size: clamp(1.05rem, 1.4vw, 1.24rem);
  font-weight: 700;
  line-height: 1.55;
  margin: 0;
  max-width: 820px;
}

.landing-redesign .content-language-link {
  align-items: center;
  background: rgba(41, 189, 242, 0.1);
  border: 1px solid rgba(41, 189, 242, 0.24);
  border-radius: 999px;
  color: #087ca0;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 900;
  justify-content: center;
  padding: 10px 14px;
  text-decoration: none;
  width: fit-content;
}

.landing-redesign .content-language-link:hover {
  background: rgba(41, 189, 242, 0.18);
  color: #065f7d;
}

.landing-redesign .content-article-meta {
  color: var(--gallery-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  text-transform: uppercase;
}

.landing-redesign .content-article-meta span {
  background: rgba(41, 189, 242, 0.1);
  border: 1px solid rgba(41, 189, 242, 0.24);
  border-radius: 999px;
  color: #087ca0;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  padding: 8px 11px;
}

.landing-redesign .content-article-lede {
  color: #33221d;
  font-size: clamp(1.1rem, 1.45vw, 1.32rem);
  font-weight: 720;
  line-height: 1.62;
  margin: 0;
  max-width: 880px;
}

.landing-redesign .content-article-toc {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 250, 255, 0.9)),
    radial-gradient(circle at 0 0, rgba(41, 189, 242, 0.14), transparent 16rem);
  border: 1px solid rgba(21, 17, 15, 0.09);
  border-left: 7px solid var(--loteria-blue);
  border-radius: 24px;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.landing-redesign .content-article-toc div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.landing-redesign .content-article-toc span {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(21, 17, 15, 0.09);
  border-radius: 999px;
  color: var(--gallery-ink);
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.1;
  padding: 9px 12px;
}

.landing-redesign .content-article-toc a {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(21, 17, 15, 0.09);
  border-radius: 999px;
  color: var(--gallery-ink);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.1;
  padding: 9px 12px;
  text-decoration: none;
}

.landing-redesign .content-article-toc a:hover {
  border-color: rgba(236, 47, 145, 0.38);
  color: var(--loteria-magenta);
}

.landing-redesign .content-article-block {
  border-top: 1px solid rgba(21, 17, 15, 0.1);
  padding-top: 24px;
}

.landing-redesign .content-article-block h2,
.landing-redesign .content-article-callout h2,
.landing-redesign .content-article-cta-card h2 {
  color: var(--gallery-ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.7rem, 2.55vw, 3.05rem);
  font-weight: 930;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0 0 12px;
  text-wrap: balance;
}

.landing-redesign .content-article-block p,
.landing-redesign .content-article-block li,
.landing-redesign .content-article-callout p,
.landing-redesign .content-article-cta-card p,
.landing-redesign .content-article-related-card a {
  color: var(--gallery-muted);
  font-size: 1rem;
  font-weight: 680;
  line-height: 1.58;
}

.landing-redesign .content-article-block p,
.landing-redesign .content-article-callout p,
.landing-redesign .content-article-cta-card p {
  margin: 0;
}

.landing-redesign .content-article-block p + p {
  margin-top: 13px;
}

.landing-redesign .content-article-block ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.landing-redesign .content-article-block li {
  display: grid;
  gap: 10px;
  grid-template-columns: auto 1fr;
}

.landing-redesign .content-article-block li::before {
  background: var(--loteria-magenta);
  border-radius: 999px;
  content: "";
  height: 9px;
  margin-top: 0.52em;
  width: 9px;
}

.landing-redesign .content-article-callout {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(241, 250, 255, 0.88)),
    radial-gradient(circle at 100% 0%, rgba(250, 204, 21, 0.18), transparent 16rem);
  border: 1px solid rgba(21, 17, 15, 0.1);
  border-left: 7px solid var(--loteria-green);
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  padding: clamp(20px, 3vw, 32px);
}

.landing-redesign .content-callout-grid {
  display: grid;
  gap: 16px;
}

.landing-redesign .content-article-callout.compact {
  border-left-color: var(--loteria-magenta);
}

.landing-redesign .content-article-callout ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.landing-redesign .content-article-callout li {
  color: var(--gallery-muted);
  font-weight: 720;
  line-height: 1.5;
}

.landing-redesign .content-visual-blocks {
  display: grid;
  gap: 18px;
}

.landing-redesign .content-visual-block,
.landing-redesign .content-mid-cta {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 250, 255, 0.92)),
    radial-gradient(circle at 0 0, rgba(41, 189, 242, 0.16), transparent 18rem),
    radial-gradient(circle at 100% 100%, rgba(236, 47, 145, 0.12), transparent 18rem);
  border: 1px solid rgba(21, 17, 15, 0.1);
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
  display: grid;
  gap: 20px;
  padding: clamp(20px, 3vw, 32px);
}

.landing-redesign .content-visual-block {
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
}

.landing-redesign .content-visual-block.has-media {
  grid-template-columns: minmax(210px, 0.34fr) minmax(0, 0.9fr) minmax(180px, 0.32fr);
}

.landing-redesign .content-visual-block-copy {
  display: grid;
  gap: 10px;
}

.landing-redesign .content-visual-block h2,
.landing-redesign .content-mid-cta h2 {
  color: var(--gallery-ink);
  font-size: clamp(1.75rem, 3vw, 3.1rem);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 0.96;
  margin: 0;
}

.landing-redesign .content-visual-block p,
.landing-redesign .content-mid-cta p {
  color: var(--gallery-muted);
  font-weight: 720;
  line-height: 1.54;
  margin: 0;
}

.landing-redesign .content-visual-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-redesign .content-visual-item {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(21, 17, 15, 0.09);
  border-top: 6px solid var(--loteria-blue);
  border-radius: 20px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
  min-height: 150px;
  padding: 16px;
}

.landing-redesign .content-visual-item:nth-child(2n) {
  border-top-color: var(--loteria-green);
}

.landing-redesign .content-visual-item:nth-child(3n) {
  border-top-color: var(--loteria-yellow);
}

.landing-redesign .content-visual-item:nth-child(4n) {
  border-top-color: var(--loteria-magenta);
}

.landing-redesign .content-visual-item span {
  align-items: center;
  background: var(--gallery-ink);
  border-radius: 14px;
  color: #fff;
  display: inline-flex;
  font-size: 1.05rem;
  font-weight: 950;
  height: 42px;
  justify-content: center;
  margin-bottom: 14px;
  min-width: 42px;
  padding: 0 10px;
}

.landing-redesign .content-visual-item h3 {
  color: var(--gallery-ink);
  font-size: 1.02rem;
  font-weight: 950;
  letter-spacing: -0.02em;
  margin: 0 0 7px;
}

.landing-redesign .content-visual-item p {
  font-size: 0.92rem;
  line-height: 1.43;
}

.landing-redesign .content-visual-media {
  align-self: stretch;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 229, 0.95));
  border: 1px solid rgba(21, 17, 15, 0.1);
  border-radius: 22px;
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 10px;
  justify-items: center;
  margin: 0;
  padding: 14px;
}

.landing-redesign .content-visual-media img {
  border: 1px solid rgba(21, 17, 15, 0.15);
  border-radius: 16px;
  display: block;
  height: auto;
  max-height: 360px;
  max-width: min(100%, 260px);
  object-fit: contain;
  width: 100%;
}

.landing-redesign .content-visual-media figcaption {
  color: var(--gallery-muted);
  font-size: 0.78rem;
  font-weight: 720;
  line-height: 1.35;
  margin: 0;
  text-align: center;
}

.landing-redesign .content-image-gallery {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 236, 0.94)),
    radial-gradient(circle at 0 0, rgba(236, 47, 145, 0.12), transparent 18rem),
    radial-gradient(circle at 100% 0, rgba(41, 189, 242, 0.12), transparent 18rem);
  border: 1px solid rgba(21, 17, 15, 0.1);
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 32px);
}

.landing-redesign .content-image-gallery-head {
  display: grid;
  gap: 8px;
  max-width: 760px;
}

.landing-redesign .content-image-gallery-head h2 {
  color: var(--gallery-ink);
  font-size: clamp(1.75rem, 3vw, 3.1rem);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0;
}

.landing-redesign .content-image-gallery-head p:not(.lm-kicker) {
  color: var(--gallery-muted);
  font-weight: 720;
  line-height: 1.55;
  margin: 0;
}

.landing-redesign .content-image-gallery-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-redesign .content-image-gallery-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(21, 17, 15, 0.1);
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 10px;
  margin: 0;
  overflow: hidden;
  padding: 12px;
  position: relative;
}

.landing-redesign .content-image-gallery-card.featured {
  border-top: 7px solid var(--loteria-magenta);
  grid-column: span 3;
}

.landing-redesign .content-card-guide-productDeck .content-image-gallery,
.landing-redesign .content-card-guide-spookyDeck .content-image-gallery,
.landing-redesign .content-card-guide-amorToxicoDeck .content-image-gallery,
.landing-redesign .content-card-guide-gratefulAfDeck .content-image-gallery {
  gap: 14px;
  padding: clamp(16px, 2vw, 24px);
}

.landing-redesign .content-card-guide-productDeck .content-image-gallery-grid,
.landing-redesign .content-card-guide-spookyDeck .content-image-gallery-grid,
.landing-redesign .content-card-guide-amorToxicoDeck .content-image-gallery-grid,
.landing-redesign .content-card-guide-gratefulAfDeck .content-image-gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-redesign .content-card-guide-productDeck .content-image-gallery-card.featured,
.landing-redesign .content-card-guide-spookyDeck .content-image-gallery-card.featured,
.landing-redesign .content-card-guide-amorToxicoDeck .content-image-gallery-card.featured,
.landing-redesign .content-card-guide-gratefulAfDeck .content-image-gallery-card.featured {
  grid-column: auto;
}

.landing-redesign .content-image-gallery-card img {
  background: #fff8e8;
  border: 1px solid rgba(21, 17, 15, 0.12);
  border-radius: 16px;
  display: block;
  height: auto;
  max-height: 640px;
  object-fit: contain;
  width: 100%;
}

.landing-redesign .protected-gallery-image {
  -webkit-user-select: none;
  user-select: none;
}

.landing-redesign .protected-gallery-image::before {
  background:
    repeating-linear-gradient(
      -28deg,
      rgba(255, 255, 255, 0) 0 62px,
      rgba(255, 255, 255, 0.22) 62px 65px
    );
  content: "";
  inset: 12px;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.landing-redesign .protected-gallery-image::after {
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(21, 17, 15, 0.1);
  border-radius: 999px;
  color: rgba(21, 17, 15, 0.46);
  content: attr(data-watermark);
  font-size: 0.6rem;
  font-weight: 950;
  left: 52%;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  pointer-events: none;
  position: absolute;
  text-transform: uppercase;
  top: 48%;
  transform: translate(-50%, -50%) rotate(-23deg);
  white-space: nowrap;
  z-index: 3;
}

.landing-redesign .protected-gallery-image img {
  -webkit-user-drag: none;
  pointer-events: none;
}

.landing-redesign .content-image-gallery-card:not(.featured) img {
  max-height: 430px;
}

.landing-redesign .content-card-guide-productDeck .content-image-gallery-card img,
.landing-redesign .content-card-guide-productDeck .content-image-gallery-card:not(.featured) img,
.landing-redesign .content-card-guide-spookyDeck .content-image-gallery-card img,
.landing-redesign .content-card-guide-spookyDeck .content-image-gallery-card:not(.featured) img,
.landing-redesign .content-card-guide-amorToxicoDeck .content-image-gallery-card img,
.landing-redesign .content-card-guide-amorToxicoDeck .content-image-gallery-card:not(.featured) img,
.landing-redesign .content-card-guide-gratefulAfDeck .content-image-gallery-card img,
.landing-redesign .content-card-guide-gratefulAfDeck .content-image-gallery-card:not(.featured) img {
  max-height: 360px;
}

.landing-redesign .content-image-gallery-card figcaption {
  color: var(--gallery-muted);
  font-size: 0.82rem;
  font-weight: 820;
  line-height: 1.35;
  margin: 0;
  text-align: center;
}

.landing-redesign .content-mid-cta {
  border-left: 7px solid var(--loteria-red);
}

.landing-redesign .content-mid-cta .content-hub-actions {
  justify-content: flex-start;
  margin-top: 4px;
}

.landing-redesign .content-product-grid,
.landing-redesign .content-article-split {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.landing-redesign .content-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-redesign .content-product-grid article,
.landing-redesign .content-article-split > div {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(21, 17, 15, 0.09);
  border-radius: 20px;
  padding: 18px;
}

.landing-redesign .content-product-grid h3 {
  color: var(--gallery-ink);
  font-size: 1rem;
  font-weight: 920;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.landing-redesign .content-article-sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 92px;
}

.landing-redesign .content-article-cta-card,
.landing-redesign .content-article-related-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(21, 17, 15, 0.1);
  border-radius: 26px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  padding: 22px;
}

.landing-redesign .content-article-cta-card {
  border-top: 7px solid var(--loteria-magenta);
}

.landing-redesign .content-article-related-card {
  border-top: 7px solid var(--loteria-blue);
}

.landing-redesign .content-article-related-card h3 {
  color: var(--gallery-ink);
  font-size: 1.05rem;
  font-weight: 930;
  margin: 0 0 12px;
}

.landing-redesign .content-article-related-card a {
  border-top: 1px solid rgba(21, 17, 15, 0.09);
  color: var(--gallery-ink);
  display: block;
  font-weight: 800;
  padding: 11px 0;
  text-decoration: none;
}

.landing-redesign .content-article-related-card a:hover {
  color: var(--loteria-magenta);
}

.landing-redesign.seo-article-route .lm-hero,
.landing-redesign .content-article-hero {
  margin-bottom: 22px;
}

.landing-redesign .traditional-card-guide {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(252, 248, 237, 0.94)),
    radial-gradient(circle at 100% 0%, rgba(236, 47, 145, 0.12), transparent 18rem);
  border: 1px solid rgba(21, 17, 15, 0.1);
  border-radius: 28px;
  display: grid;
  gap: 22px;
  margin-left: clamp(-18px, -2vw, 0px);
  margin-right: clamp(-18px, -2vw, 0px);
  padding: clamp(20px, 3vw, 34px);
}

.landing-redesign .traditional-card-guide-head {
  display: grid;
  gap: 8px;
}

.landing-redesign .traditional-card-guide-head h2,
.landing-redesign .content-article-sources h2 {
  color: var(--gallery-ink);
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0;
}

.landing-redesign .traditional-card-guide-head p:not(.lm-kicker) {
  color: var(--gallery-muted);
  font-weight: 720;
  line-height: 1.55;
  margin: 0;
  max-width: 760px;
}

.landing-redesign .traditional-card-sequence {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.landing-redesign .traditional-card-item {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(21, 17, 15, 0.09);
  border-radius: 24px;
  display: grid;
  gap: clamp(18px, 2.5vw, 28px);
  grid-template-columns: minmax(116px, 154px) minmax(0, 1fr);
  padding: clamp(16px, 2.2vw, 24px);
  position: relative;
}

.landing-redesign .deck-card-guide .traditional-card-sequence {
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-redesign .deck-card-guide .traditional-card-item {
  animation: deckCardFloatIn 0.55s ease both;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 235, 0.92)),
    radial-gradient(circle at 100% 0, rgba(236, 47, 145, 0.08), transparent 10rem);
  border-radius: 26px;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  overflow: hidden;
  padding: 14px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.landing-redesign .deck-card-guide .traditional-card-item:nth-child(3n + 1) {
  border-top: 6px solid var(--loteria-blue);
}

.landing-redesign .deck-card-guide .traditional-card-item:nth-child(3n + 2) {
  border-top: 6px solid var(--loteria-green);
}

.landing-redesign .deck-card-guide .traditional-card-item:nth-child(3n) {
  border-top: 6px solid var(--loteria-magenta);
}

.landing-redesign .deck-card-guide .traditional-card-item:nth-child(4n) {
  border-top-color: var(--loteria-yellow);
}

.landing-redesign .deck-card-guide .traditional-card-item:hover {
  border-color: rgba(21, 17, 15, 0.18);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
  transform: translateY(-4px);
}

.landing-redesign .deck-card-guide .traditional-card-copy {
  align-self: start;
  gap: 6px;
  padding: 2px 2px 4px;
}

.landing-redesign .deck-card-guide .traditional-card-number {
  font-size: 0.75rem;
  height: 28px;
  min-width: 36px;
}

.landing-redesign .deck-card-guide .traditional-card-item h4 {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.landing-redesign .deck-card-guide .traditional-card-image-wrap {
  justify-self: center;
  max-width: 210px;
  width: min(100%, 210px);
}

.landing-redesign .protected-card-guide {
  -webkit-user-select: none;
  user-select: none;
}

.landing-redesign .traditional-card-image-wrap {
  align-self: start;
  background: #fff7df;
  border: 1px solid rgba(21, 17, 15, 0.12);
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  position: relative;
}

.landing-redesign .protected-card-guide .traditional-card-image-wrap {
  cursor: default;
}

.landing-redesign .protected-card-guide .traditional-card-image-wrap::before {
  background:
    repeating-linear-gradient(
      -28deg,
      rgba(255, 255, 255, 0) 0 58px,
      rgba(255, 255, 255, 0.24) 58px 61px
    );
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.landing-redesign .protected-card-guide .traditional-card-image-wrap::after {
  align-items: center;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(21, 17, 15, 0.1);
  border-radius: 999px;
  color: rgba(21, 17, 15, 0.48);
  content: attr(data-watermark);
  display: flex;
  font-size: 0.52rem;
  font-weight: 950;
  justify-content: center;
  left: 53%;
  letter-spacing: 0.08em;
  line-height: 1;
  max-width: calc(100% - 18px);
  min-height: 20px;
  padding: 5px 9px;
  pointer-events: none;
  position: absolute;
  text-transform: uppercase;
  top: 49%;
  transform: translate(-50%, -50%) rotate(-23deg);
  white-space: nowrap;
  z-index: 3;
}

.landing-redesign .traditional-card-image-wrap img {
  aspect-ratio: 386 / 615;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.landing-redesign .protected-card-guide .traditional-card-image-wrap img {
  -webkit-user-drag: none;
  pointer-events: none;
}

@keyframes deckCardFloatIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.landing-redesign .traditional-card-copy {
  align-self: center;
  display: grid;
  gap: 8px;
  min-width: 0;
}

.landing-redesign .traditional-card-number {
  align-items: center;
  background: rgba(255, 220, 55, 0.96);
  border: 2px solid rgba(21, 17, 15, 0.92);
  border-radius: 999px;
  box-shadow: 0 7px 14px rgba(15, 23, 42, 0.18);
  color: var(--gallery-ink);
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 950;
  height: 32px;
  justify-content: center;
  left: 12px;
  min-width: 40px;
  padding: 0 10px;
  position: absolute;
  top: 12px;
  z-index: 4;
}

.landing-redesign .traditional-card-item h4 {
  color: var(--gallery-ink);
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: -0.02em;
  margin: 0;
}

.landing-redesign .traditional-card-item p {
  color: var(--gallery-muted);
  font-size: 0.92rem;
  font-weight: 680;
  line-height: 1.45;
  margin: 0;
}

.landing-redesign .traditional-card-item .traditional-card-meaning {
  color: var(--loteria-magenta);
  font-size: 0.84rem;
  font-weight: 900;
}

.landing-redesign .traditional-card-saying {
  background:
    linear-gradient(135deg, rgba(255, 248, 220, 0.98), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(236, 47, 145, 0.24);
  border-left: 5px solid var(--loteria-magenta);
  border-radius: 16px;
  display: grid;
  gap: 9px;
  margin-top: 10px;
  max-width: 560px;
  padding: 11px 12px;
}

.landing-redesign .traditional-card-saying p {
  color: var(--gallery-ink);
  font-size: 0.93rem;
  font-weight: 850;
  line-height: 1.38;
  margin: 0;
}

.landing-redesign .traditional-card-saying strong {
  color: var(--loteria-magenta);
  display: block;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1.1;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.landing-redesign .traditional-card-saying span {
  color: var(--gallery-muted);
  display: block;
  font-size: 0.86rem;
  font-weight: 780;
  line-height: 1.4;
}

.landing-redesign .content-card-guide-full-width {
  margin-left: 0;
  margin-right: 0;
}

.landing-redesign .card-guide-productDeck {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 236, 0.94)),
    radial-gradient(circle at 0 0, rgba(41, 189, 242, 0.13), transparent 20rem),
    radial-gradient(circle at 100% 8%, rgba(236, 47, 145, 0.12), transparent 20rem);
  border-top: 7px solid var(--loteria-magenta);
}

.landing-redesign .card-guide-spookyDeck {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 248, 232, 0.93)),
    radial-gradient(circle at 0 0, rgba(21, 17, 15, 0.1), transparent 18rem),
    radial-gradient(circle at 100% 5%, rgba(247, 191, 46, 0.18), transparent 18rem),
    radial-gradient(circle at 20% 100%, rgba(126, 87, 194, 0.12), transparent 18rem);
  border-top: 7px solid #15110f;
}

.landing-redesign .card-guide-amorToxicoDeck {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 244, 249, 0.94)),
    radial-gradient(circle at 0 0, rgba(236, 47, 145, 0.16), transparent 18rem),
    radial-gradient(circle at 100% 5%, rgba(232, 55, 55, 0.13), transparent 18rem),
    radial-gradient(circle at 25% 100%, rgba(126, 87, 194, 0.12), transparent 18rem);
  border-top: 7px solid var(--loteria-magenta);
}

.landing-redesign .card-guide-gratefulAfDeck {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 232, 0.95)),
    radial-gradient(circle at 0 0, rgba(226, 103, 36, 0.16), transparent 18rem),
    radial-gradient(circle at 100% 5%, rgba(246, 183, 56, 0.2), transparent 18rem),
    radial-gradient(circle at 25% 100%, rgba(113, 141, 82, 0.14), transparent 18rem);
  border-top: 7px solid #d96f24;
}

.landing-redesign .content-card-guide-spookyDeck .content-image-gallery-card.featured {
  border-top-color: #15110f;
}

.landing-redesign .content-card-guide-amorToxicoDeck .content-image-gallery-card.featured {
  border-top-color: var(--loteria-magenta);
}

.landing-redesign .content-card-guide-gratefulAfDeck .content-image-gallery-card.featured {
  border-top-color: #d96f24;
}

.landing-redesign .card-guide-productDeck .traditional-card-sequence,
.landing-redesign .card-guide-spookyDeck .traditional-card-sequence,
.landing-redesign .card-guide-amorToxicoDeck .traditional-card-sequence,
.landing-redesign .card-guide-gratefulAfDeck .traditional-card-sequence {
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.landing-redesign .card-guide-productDeck .traditional-card-item,
.landing-redesign .card-guide-spookyDeck .traditional-card-item,
.landing-redesign .card-guide-amorToxicoDeck .traditional-card-item,
.landing-redesign .card-guide-gratefulAfDeck .traditional-card-item {
  border-radius: 20px;
  gap: 10px;
  padding: 10px;
  padding-top: 40px;
}

.landing-redesign .card-guide-productDeck .traditional-card-item:nth-child(5n + 1) {
  border-top-color: var(--loteria-blue);
}

.landing-redesign .card-guide-productDeck .traditional-card-item:nth-child(5n + 2) {
  border-top-color: var(--loteria-green);
}

.landing-redesign .card-guide-productDeck .traditional-card-item:nth-child(5n + 3) {
  border-top-color: var(--loteria-yellow);
}

.landing-redesign .card-guide-productDeck .traditional-card-item:nth-child(5n + 4) {
  border-top-color: var(--loteria-magenta);
}

.landing-redesign .card-guide-productDeck .traditional-card-item:nth-child(5n) {
  border-top-color: var(--loteria-purple);
}

.landing-redesign .card-guide-spookyDeck .traditional-card-item:nth-child(5n + 1) {
  border-top-color: #15110f;
}

.landing-redesign .card-guide-spookyDeck .traditional-card-item:nth-child(5n + 2) {
  border-top-color: #f7bf2e;
}

.landing-redesign .card-guide-spookyDeck .traditional-card-item:nth-child(5n + 3) {
  border-top-color: var(--loteria-magenta);
}

.landing-redesign .card-guide-spookyDeck .traditional-card-item:nth-child(5n + 4) {
  border-top-color: var(--loteria-purple);
}

.landing-redesign .card-guide-spookyDeck .traditional-card-item:nth-child(5n) {
  border-top-color: var(--loteria-green);
}

.landing-redesign .card-guide-amorToxicoDeck .traditional-card-item:nth-child(5n + 1) {
  border-top-color: var(--loteria-magenta);
}

.landing-redesign .card-guide-amorToxicoDeck .traditional-card-item:nth-child(5n + 2) {
  border-top-color: var(--loteria-red);
}

.landing-redesign .card-guide-amorToxicoDeck .traditional-card-item:nth-child(5n + 3) {
  border-top-color: var(--loteria-purple);
}

.landing-redesign .card-guide-amorToxicoDeck .traditional-card-item:nth-child(5n + 4) {
  border-top-color: #f6a7bd;
}

.landing-redesign .card-guide-amorToxicoDeck .traditional-card-item:nth-child(5n) {
  border-top-color: #15110f;
}

.landing-redesign .card-guide-gratefulAfDeck .traditional-card-item:nth-child(5n + 1) {
  border-top-color: #d96f24;
}

.landing-redesign .card-guide-gratefulAfDeck .traditional-card-item:nth-child(5n + 2) {
  border-top-color: #f0b43d;
}

.landing-redesign .card-guide-gratefulAfDeck .traditional-card-item:nth-child(5n + 3) {
  border-top-color: #718d52;
}

.landing-redesign .card-guide-gratefulAfDeck .traditional-card-item:nth-child(5n + 4) {
  border-top-color: #11623b;
}

.landing-redesign .card-guide-gratefulAfDeck .traditional-card-item:nth-child(5n) {
  border-top-color: #7c3f24;
}

.landing-redesign .card-guide-productDeck .traditional-card-image-wrap,
.landing-redesign .card-guide-spookyDeck .traditional-card-image-wrap,
.landing-redesign .card-guide-amorToxicoDeck .traditional-card-image-wrap,
.landing-redesign .card-guide-gratefulAfDeck .traditional-card-image-wrap {
  border-radius: 14px;
  max-width: none;
  width: 100%;
}

.landing-redesign .card-guide-productDeck .traditional-card-image-wrap img {
  aspect-ratio: 399 / 560;
  object-fit: contain;
}

.landing-redesign .card-guide-spookyDeck .traditional-card-image-wrap img {
  aspect-ratio: 465 / 597;
  object-fit: contain;
}

.landing-redesign .card-guide-amorToxicoDeck .traditional-card-image-wrap img {
  aspect-ratio: 5 / 7;
  object-fit: contain;
}

.landing-redesign .card-guide-gratefulAfDeck .traditional-card-image-wrap img {
  aspect-ratio: 5 / 7;
  object-fit: contain;
}

.landing-redesign .card-guide-productDeck .traditional-card-copy,
.landing-redesign .card-guide-spookyDeck .traditional-card-copy,
.landing-redesign .card-guide-amorToxicoDeck .traditional-card-copy,
.landing-redesign .card-guide-gratefulAfDeck .traditional-card-copy {
  gap: 4px;
  padding: 0 2px 3px;
}

.landing-redesign .card-guide-productDeck .traditional-card-number,
.landing-redesign .card-guide-spookyDeck .traditional-card-number,
.landing-redesign .card-guide-amorToxicoDeck .traditional-card-number,
.landing-redesign .card-guide-gratefulAfDeck .traditional-card-number {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(21, 17, 15, 0.22);
  color: var(--gallery-ink);
  font-size: 0.72rem;
  height: 24px;
  left: 10px;
  min-width: auto;
  padding: 0 8px;
  top: 10px;
}

.landing-redesign .card-guide-productDeck .traditional-card-item h4,
.landing-redesign .card-guide-spookyDeck .traditional-card-item h4,
.landing-redesign .card-guide-amorToxicoDeck .traditional-card-item h4,
.landing-redesign .card-guide-gratefulAfDeck .traditional-card-item h4 {
  font-size: clamp(0.9rem, 1vw, 1.02rem);
  line-height: 1.05;
}

.landing-redesign .card-guide-productDeck .traditional-card-item .traditional-card-meaning {
  color: #087ca0;
  font-size: 0.78rem;
  line-height: 1.18;
}

.landing-redesign .card-guide-amorToxicoDeck .traditional-card-item .traditional-card-meaning {
  color: #a51660;
  font-size: 0.78rem;
  line-height: 1.18;
}

.landing-redesign .card-guide-gratefulAfDeck .traditional-card-item .traditional-card-meaning {
  color: #11623b;
  font-size: 0.78rem;
  line-height: 1.18;
}

.landing-redesign .card-guide-traditionalReference .traditional-card-sequence {
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-redesign .card-guide-traditionalReference .traditional-card-item {
  border-radius: 22px;
  gap: 12px;
  grid-template-columns: 1fr;
  padding: 46px 14px 14px;
}

.landing-redesign .card-guide-traditionalReference .traditional-card-image-wrap {
  justify-self: center;
  max-width: 180px;
  width: min(100%, 180px);
}

.landing-redesign .card-guide-traditionalReference .traditional-card-copy {
  align-self: start;
}

.landing-redesign .card-guide-traditionalReference .traditional-card-saying {
  display: grid;
  gap: 7px;
  max-width: none;
  padding: 11px 12px;
}

.landing-redesign .card-guide-traditionalReference .traditional-card-saying summary {
  color: var(--loteria-magenta);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  list-style: none;
  padding: 11px 12px;
  text-transform: uppercase;
}

.landing-redesign .card-guide-traditionalReference .traditional-card-saying summary::-webkit-details-marker {
  display: none;
}

.landing-redesign .card-guide-traditionalReference .traditional-card-saying summary::after {
  content: "+";
  float: right;
}

.landing-redesign .card-guide-traditionalReference .traditional-card-saying[open] summary::after {
  content: "−";
}

.landing-redesign .card-guide-traditionalReference .traditional-card-saying p,
.landing-redesign .card-guide-traditionalReference .traditional-card-saying span {
  padding-left: 0;
  padding-right: 0;
}

.landing-redesign .card-guide-traditionalReference .traditional-card-saying span {
  padding-bottom: 0;
}

.landing-redesign .content-article-sources {
  border-top: 1px solid rgba(21, 17, 15, 0.1);
  display: grid;
  gap: 14px;
  padding-top: 24px;
}

.landing-redesign .content-article-sources ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.landing-redesign .content-article-sources li {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(21, 17, 15, 0.08);
  border-radius: 16px;
  display: grid;
  gap: 4px;
  padding: 13px 14px;
}

.landing-redesign .content-article-sources a {
  color: var(--gallery-ink);
  font-weight: 950;
  text-decoration: none;
}

.landing-redesign .content-article-sources a:hover {
  color: var(--loteria-magenta);
}

.landing-redesign .content-article-sources span {
  color: var(--gallery-muted);
  font-size: 0.92rem;
  font-weight: 680;
}

@media (max-width: 980px) {
  .landing-redesign .lm-process .lm-section-head,
  .landing-redesign .lm-feature-showcase .lm-section-head,
  .landing-redesign .seo-related-section .lm-section-head,
  .landing-redesign .content-hub-head,
  .landing-redesign .content-hub-cta {
    display: block !important;
  }

  .landing-redesign .lm-process .lm-section-head h2,
  .landing-redesign .lm-feature-showcase .lm-section-head h2,
  .landing-redesign .seo-related-section .lm-section-head h2 {
    font-size: clamp(2.25rem, 8vw, 4rem) !important;
    margin-top: 8px;
    max-width: 760px;
  }

  .landing-redesign .lm-process .lm-section-head p:not(.lm-kicker),
  .landing-redesign .lm-feature-showcase .lm-section-head p:not(.lm-kicker) {
    margin-top: 12px;
    max-width: 620px;
  }

  .landing-redesign .lm-step-grid,
  .landing-redesign .lm-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-redesign .content-hub-grid {
    grid-template-columns: 1fr;
  }

  .landing-redesign .content-article-section {
    grid-template-columns: 1fr;
  }

  .landing-redesign .content-article-sidebar {
    position: static;
  }

  .landing-redesign .content-hub-actions {
    justify-content: flex-start;
    margin-top: 18px;
  }

  .landing-redesign .deck-card-guide .traditional-card-sequence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .landing-redesign .lm-process,
  .landing-redesign .lm-feature-showcase,
  .landing-redesign .seo-related-section,
  .landing-redesign .content-hub-section,
  .landing-redesign .content-article-section {
    padding: 24px 18px !important;
  }

  .landing-redesign .lm-step-grid,
  .landing-redesign .lm-feature-grid {
    grid-template-columns: 1fr;
  }

  .landing-redesign .lm-step-card,
  .landing-redesign .lm-feature-tile {
    padding: 16px;
  }

  .landing-redesign .seo-related-section .seo-topic-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .landing-redesign .seo-page-directory,
  .landing-redesign .seo-page-directory.compact {
    grid-template-columns: 1fr;
  }

  .landing-redesign .seo-mini-directory {
    grid-template-columns: 1fr;
  }

  .landing-redesign .content-hub-actions .primary-button,
  .landing-redesign .content-hub-actions .secondary-button {
    justify-content: center;
    width: 100%;
  }

  .landing-redesign .content-article-main,
  .landing-redesign .content-article-cta-card,
  .landing-redesign .content-article-related-card {
    border-radius: 22px;
    padding: 20px;
  }

  .landing-redesign .content-product-grid,
  .landing-redesign .content-article-split,
  .landing-redesign .content-visual-block,
  .landing-redesign .content-visual-block.has-media,
  .landing-redesign .content-image-gallery-grid,
  .landing-redesign .traditional-card-sequence {
    grid-template-columns: 1fr;
  }

  .landing-redesign .content-image-gallery-card.featured {
    grid-column: auto;
  }

  .landing-redesign .deck-card-guide .traditional-card-sequence {
    grid-template-columns: 1fr;
  }

  .landing-redesign .content-visual-grid {
    grid-template-columns: 1fr;
  }

  .landing-redesign .traditional-card-item {
    gap: 14px;
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .landing-redesign .traditional-card-image-wrap {
    justify-self: center;
    max-width: 150px;
    width: min(46vw, 150px);
  }

  .landing-redesign .traditional-card-guide {
    margin-left: 0;
    margin-right: 0;
  }

  .landing-redesign .traditional-card-saying {
    max-width: none;
  }
}

@media (max-width: 1280px) {
  .landing-redesign .card-guide-productDeck .traditional-card-sequence,
  .landing-redesign .card-guide-amorToxicoDeck .traditional-card-sequence,
  .landing-redesign .card-guide-spookyDeck .traditional-card-sequence,
  .landing-redesign .card-guide-gratefulAfDeck .traditional-card-sequence {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .landing-redesign .content-article-section.content-card-guide-page {
    grid-template-columns: 1fr;
    max-width: min(100%, calc(100vw - 28px));
  }

  .landing-redesign .content-card-guide-productDeck .content-image-gallery-grid,
  .landing-redesign .content-card-guide-spookyDeck .content-image-gallery-grid,
  .landing-redesign .content-card-guide-amorToxicoDeck .content-image-gallery-grid,
  .landing-redesign .content-card-guide-gratefulAfDeck .content-image-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-redesign .card-guide-productDeck .traditional-card-sequence,
  .landing-redesign .card-guide-amorToxicoDeck .traditional-card-sequence,
  .landing-redesign .card-guide-spookyDeck .traditional-card-sequence,
  .landing-redesign .card-guide-gratefulAfDeck .traditional-card-sequence {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .landing-redesign .card-guide-traditionalReference .traditional-card-sequence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .landing-redesign .content-card-guide-productDeck .content-image-gallery-grid,
  .landing-redesign .content-card-guide-spookyDeck .content-image-gallery-grid,
  .landing-redesign .content-card-guide-amorToxicoDeck .content-image-gallery-grid,
  .landing-redesign .content-card-guide-gratefulAfDeck .content-image-gallery-grid,
  .landing-redesign .card-guide-productDeck .traditional-card-sequence,
  .landing-redesign .card-guide-amorToxicoDeck .traditional-card-sequence,
  .landing-redesign .card-guide-spookyDeck .traditional-card-sequence,
  .landing-redesign .card-guide-gratefulAfDeck .traditional-card-sequence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-redesign .content-card-guide-page .content-article-sidebar {
    grid-template-columns: 1fr;
  }

  .landing-redesign .card-guide-traditionalReference .traditional-card-sequence {
    grid-template-columns: 1fr;
  }

  .landing-redesign .card-guide-productDeck,
  .landing-redesign .card-guide-amorToxicoDeck,
  .landing-redesign .card-guide-spookyDeck,
  .landing-redesign .card-guide-gratefulAfDeck {
    padding: 14px;
  }

  .landing-redesign .card-guide-productDeck .traditional-card-item,
  .landing-redesign .card-guide-amorToxicoDeck .traditional-card-item,
  .landing-redesign .card-guide-spookyDeck .traditional-card-item,
  .landing-redesign .card-guide-gratefulAfDeck .traditional-card-item {
    border-radius: 16px;
    gap: 8px;
    padding: 34px 8px 8px;
  }

  .landing-redesign .card-guide-productDeck .traditional-card-item h4,
  .landing-redesign .card-guide-amorToxicoDeck .traditional-card-item h4,
  .landing-redesign .card-guide-spookyDeck .traditional-card-item h4,
  .landing-redesign .card-guide-gratefulAfDeck .traditional-card-item h4 {
    font-size: 0.82rem;
  }

  .landing-redesign .card-guide-productDeck .traditional-card-item .traditional-card-meaning,
  .landing-redesign .card-guide-amorToxicoDeck .traditional-card-item .traditional-card-meaning,
  .landing-redesign .card-guide-gratefulAfDeck .traditional-card-item .traditional-card-meaning {
    font-size: 0.72rem;
  }
}

/* Compact app-first navigation */
.top-nav.app-nav {
  gap: 12px;
  min-height: 70px;
  padding: 8px 12px;
}

.top-nav.app-nav .brand-mark {
  flex: 0 0 auto;
  min-width: 0;
}

.top-nav.app-nav .brand-label {
  font-size: 1rem;
  white-space: nowrap;
}

.top-nav.app-nav .logo-mark {
  border-radius: 14px;
  height: 44px;
  width: 44px;
}

.top-nav.app-nav .nav-links {
  flex: 1 1 auto;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: 0;
}

.top-nav.app-nav .nav-dropdown {
  flex: 0 0 auto;
}

.top-nav.app-nav .nav-dropdown summary,
.top-nav.app-nav .nav-ghost,
.top-nav.app-nav .nav-cta,
.top-nav.app-nav .secondary-button.small-button {
  border-width: 1px !important;
  font-size: 0.88rem;
  min-height: 38px;
  padding: 0 13px;
}

.top-nav.app-nav .nav-projects-button {
  background: linear-gradient(135deg, #ffffff, #eefbff) !important;
  border-color: rgba(41, 189, 242, 0.32) !important;
  box-shadow: 0 8px 18px rgba(41, 189, 242, 0.12) !important;
  color: var(--gallery-ink) !important;
}

.top-nav.app-nav .nav-start-button {
  background: linear-gradient(135deg, var(--loteria-magenta), var(--loteria-red)) !important;
  border-color: transparent !important;
  color: #fff !important;
}

.top-nav.app-nav .language-toggle {
  border-width: 1px;
  padding: 3px;
}

.top-nav.app-nav .language-toggle button,
.top-nav.app-nav .language-toggle a {
  font-size: 0.74rem;
  min-height: 30px;
  padding: 0 9px;
}

.nav-explore-menu .nav-explore-panel {
  gap: 12px;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  left: 50%;
  min-width: min(620px, calc(100vw - 48px));
  transform: translateX(-50%);
}

.nav-profile-menu .nav-dropdown-menu {
  left: auto;
  min-width: 190px;
  right: 0;
}

.nav-menu-section {
  display: grid;
  gap: 7px;
}

.nav-menu-section strong {
  color: var(--loteria-magenta);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  padding: 0 8px;
  text-transform: uppercase;
}

.nav-dropdown-menu button {
  background: transparent;
  border: 0;
  border-radius: 12px;
  color: var(--gallery-ink);
  cursor: pointer;
  display: block;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 850;
  padding: 10px 11px;
  text-align: left;
  width: 100%;
}

.nav-dropdown-menu button:hover {
  background: #fff4dc;
  color: var(--loteria-magenta);
}

.nav-dropdown-menu .danger-menu-action {
  color: var(--loteria-red);
}

.static-seo-page .seo-static-nav .nav-dropdown-menu a {
  box-shadow: none;
  display: block;
  min-height: 0;
}

.static-language-toggle {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 950;
  justify-content: center;
  min-height: 36px;
  padding: 0 13px;
}

.release-update-banner {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(17, 12, 10, 0.12);
  border-left: 6px solid var(--loteria-blue);
  border-radius: 18px;
  bottom: 18px;
  box-shadow: 0 18px 46px rgba(17, 12, 10, 0.16);
  color: var(--gallery-ink);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  left: 50%;
  max-width: min(760px, calc(100vw - 32px));
  padding: 14px 16px;
  position: fixed;
  transform: translateX(-50%);
  width: max-content;
  z-index: 1200;
}

.release-update-banner.warning {
  border-left-color: var(--loteria-yellow);
}

.release-update-banner.danger {
  border-left-color: var(--loteria-red);
}

.release-update-banner strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.release-update-banner span {
  color: var(--gallery-muted);
  display: block;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.35;
  margin-top: 2px;
  max-width: 520px;
}

.release-update-button {
  background: linear-gradient(135deg, var(--loteria-magenta), var(--loteria-red));
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  flex: 0 0 auto;
  font-weight: 950;
  min-height: 40px;
  padding: 0 18px;
}

.release-update-button:disabled {
  background: #ece7df;
  color: #8d8177;
  cursor: not-allowed;
}

@media (max-width: 700px) {
  .release-update-banner {
    align-items: stretch;
    bottom: 10px;
    flex-direction: column;
    gap: 10px;
    width: calc(100vw - 24px);
  }

  .release-update-button {
    width: 100%;
  }

  .top-nav.app-nav {
    min-height: 0;
  }

  .top-nav.app-nav .nav-links {
    flex-wrap: initial;
  }

  .top-nav.app-nav .nav-dropdown,
  .top-nav.app-nav .nav-profile-menu {
    width: 100%;
  }

  .top-nav.app-nav .nav-explore-panel {
    grid-template-columns: 1fr;
    left: auto;
    min-width: 0;
    transform: none;
  }

  .top-nav.app-nav .nav-profile-menu .nav-dropdown-menu {
    right: auto;
  }

  .top-nav.app-nav .nav-dropdown summary,
  .top-nav.app-nav .nav-ghost,
  .top-nav.app-nav .nav-cta,
  .top-nav.app-nav .language-toggle {
    width: 100%;
  }
}

/* Audit polish: keep public pages compact and readable on small screens. */
@media (max-width: 700px) {
  .landing-redesign .lm-ai-promo,
  .landing-redesign .lm-process,
  .landing-redesign .lm-feature-showcase,
  .landing-redesign .lm-statements,
  .landing-redesign .lm-gallery,
  .landing-redesign .lm-print-section,
  .landing-redesign .lm-reviews {
    margin-left: 12px;
    margin-right: 12px;
    padding: 22px 16px !important;
  }

  .landing-redesign .lm-ai-promo {
    gap: 18px;
  }

  .landing-redesign .lm-ai-copy h2,
  .landing-redesign .lm-gallery .lm-section-head h2,
  .landing-redesign .lm-print-section .lm-section-head h2,
  .landing-redesign .lm-reviews .lm-section-head h2 {
    font-size: clamp(2.05rem, 10vw, 3.15rem) !important;
    line-height: 0.92 !important;
  }

  .landing-redesign .lm-gallery .lm-section-head,
  .landing-redesign .lm-print-section .lm-section-head,
  .landing-redesign .lm-reviews .lm-section-head {
    gap: 10px !important;
    margin-bottom: 16px !important;
  }

  .landing-redesign .lm-sample-grid,
  .landing-redesign .lm-review-grid,
  .landing-redesign .product-carousel-track {
    gap: 12px !important;
  }

  .landing-redesign .lm-sample-card,
  .landing-redesign .lm-review-card,
  .landing-redesign .physical-product-card {
    border-radius: 20px !important;
    padding: 12px !important;
  }

  .landing-redesign .lm-sample-card img,
  .landing-redesign .lm-review-card img,
  .landing-redesign .physical-product-card img {
    max-height: 230px;
    object-fit: contain;
  }

  .landing-redesign .lm-statements {
    display: grid !important;
    gap: 14px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    overflow: visible !important;
  }

  .landing-redesign .lm-statement,
  .landing-redesign .lm-statement:nth-child(even) {
    display: grid !important;
    gap: 16px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    min-width: 0;
    overflow: hidden !important;
    padding: 16px !important;
  }

  .landing-redesign .lm-statement-media {
    aspect-ratio: 16 / 10;
    border-width: 5px !important;
    justify-self: stretch;
    min-height: 0 !important;
    transform: none !important;
    width: 100%;
  }

  .landing-redesign .lm-statement > div:not(.lm-statement-media) {
    align-self: start !important;
    min-width: 0;
    width: 100%;
  }

  .landing-redesign .lm-statement h2 {
    font-size: clamp(2rem, 9.2vw, 2.85rem) !important;
    line-height: 0.94 !important;
    margin-top: 12px !important;
    max-width: 100%;
  }

  .landing-redesign .lm-statement p {
    font-size: 0.95rem !important;
    line-height: 1.42 !important;
    max-width: 100%;
  }
}

/* Audit polish: denser card-reference layouts without hiding card calls. */
.landing-redesign .traditional-card-item,
.landing-redesign .traditional-card-image-wrap,
.landing-redesign .traditional-card-copy,
.landing-redesign .traditional-card-saying {
  box-sizing: border-box;
}

.landing-redesign .card-guide-traditionalReference .traditional-card-item {
  align-content: start;
}

.landing-redesign .card-guide-traditionalReference .traditional-card-saying {
  margin-top: 4px;
}

.landing-redesign .card-guide-traditionalReference .traditional-card-saying p {
  font-size: 0.86rem;
  line-height: 1.28;
}

.landing-redesign .card-guide-traditionalReference .traditional-card-saying span {
  font-size: 0.78rem;
  line-height: 1.3;
}

.landing-redesign .card-guide-productDeck .traditional-card-image-wrap,
.landing-redesign .card-guide-spookyDeck .traditional-card-image-wrap,
.landing-redesign .card-guide-amorToxicoDeck .traditional-card-image-wrap,
.landing-redesign .card-guide-gratefulAfDeck .traditional-card-image-wrap {
  justify-self: stretch;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

@media (max-width: 640px) {
  .landing-redesign .traditional-card-guide {
    gap: 16px;
    padding: 16px !important;
  }

  .landing-redesign .traditional-card-guide-head h2 {
    font-size: clamp(1.7rem, 8vw, 2.45rem) !important;
  }

  .landing-redesign .card-guide-traditionalReference .traditional-card-sequence {
    gap: 12px;
    grid-template-columns: 1fr !important;
  }

  .landing-redesign .card-guide-traditionalReference .traditional-card-item {
    gap: 10px 12px !important;
    grid-template-columns: 88px minmax(0, 1fr) !important;
    padding: 14px 12px 12px 46px !important;
  }

  .landing-redesign .card-guide-traditionalReference .traditional-card-number {
    font-size: 0.7rem;
    height: 26px;
    left: 10px;
    min-width: 30px;
    padding: 0 7px;
    top: 10px;
  }

  .landing-redesign .card-guide-traditionalReference .traditional-card-image-wrap {
    grid-column: 1;
    justify-self: start;
    max-width: 88px !important;
    width: 88px !important;
  }

  .landing-redesign .card-guide-traditionalReference .traditional-card-copy {
    gap: 5px;
    grid-column: 2;
  }

  .landing-redesign .card-guide-traditionalReference .traditional-card-item h4 {
    font-size: 0.98rem;
    line-height: 1.02;
  }

  .landing-redesign .card-guide-traditionalReference .traditional-card-item .traditional-card-meaning {
    font-size: 0.76rem;
    line-height: 1.18;
  }

  .landing-redesign .card-guide-traditionalReference .traditional-card-saying {
    border-left-width: 4px;
    border-radius: 12px;
    gap: 5px;
    padding: 9px 10px;
  }

  .landing-redesign .card-guide-traditionalReference .traditional-card-saying strong {
    font-size: 0.64rem;
    margin-bottom: 2px;
  }

  .landing-redesign .card-guide-traditionalReference .traditional-card-saying p {
    font-size: 0.78rem;
  }

  .landing-redesign .card-guide-traditionalReference .traditional-card-saying span {
    font-size: 0.72rem;
  }

  .landing-redesign .card-guide-productDeck .traditional-card-sequence,
  .landing-redesign .card-guide-amorToxicoDeck .traditional-card-sequence,
  .landing-redesign .card-guide-spookyDeck .traditional-card-sequence,
  .landing-redesign .card-guide-gratefulAfDeck .traditional-card-sequence {
    gap: 12px !important;
  }

  .landing-redesign .card-guide-productDeck .traditional-card-item,
  .landing-redesign .card-guide-amorToxicoDeck .traditional-card-item,
  .landing-redesign .card-guide-spookyDeck .traditional-card-item,
  .landing-redesign .card-guide-gratefulAfDeck .traditional-card-item {
    min-width: 0;
    padding: 32px 7px 9px !important;
  }

  .landing-redesign .card-guide-productDeck .traditional-card-copy,
  .landing-redesign .card-guide-amorToxicoDeck .traditional-card-copy,
  .landing-redesign .card-guide-spookyDeck .traditional-card-copy,
  .landing-redesign .card-guide-gratefulAfDeck .traditional-card-copy {
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
  }
}
