:root {
  --bg: #050b18;
  --bg2: #0f172a;
  --panel: rgba(15, 23, 42, 0.78);
  --panel2: rgba(8, 14, 30, 0.92);
  --line: rgba(148, 163, 184, 0.18);
  --line2: rgba(59, 130, 246, 0.34);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted2: #64748b;
  --blue: #1687ff;
  --blue2: #38bdf8;
  --danger: #ef4444;
  --success: #22c55e;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -10%, rgba(22, 135, 255, 0.25), transparent 34rem),
    radial-gradient(circle at 85% 10%, rgba(56, 189, 248, 0.12), transparent 28rem),
    linear-gradient(180deg, #07101f 0%, #050b18 46%, #030712 100%);
  color: var(--text);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(5, 11, 24, 0.78);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 24px rgba(22, 135, 255, 0.18);
}

.brand-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.site-nav a {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 650;
  padding: 10px 12px;
  border-radius: 999px;
  transition: 160ms ease;
}

.site-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 999px;
  background: linear-gradient(135deg, #1687ff, #075eea);
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 14px 36px rgba(22, 135, 255, 0.25);
  cursor: pointer;
}

.btn.ghost,
.site-nav .ghost {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(148, 163, 184, 0.22);
  color: #e2e8f0 !important;
  box-shadow: none;
}

.site-main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(32px, 5vw, 72px) 0 80px;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 28px;
  padding: clamp(34px, 7vw, 86px);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.78)),
    radial-gradient(circle at 75% 20%, rgba(22, 135, 255, 0.24), transparent 28rem);
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -15% -45% 45%;
  height: 420px;
  background: radial-gradient(circle, rgba(22, 135, 255, 0.26), transparent 60%);
  pointer-events: none;
}

.eyebrow {
  margin: 0;
  color: var(--blue2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3, p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

h2 {
  margin: 56px 0 18px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.045em;
}

h3 {
  margin: 0 0 10px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

p {
  color: #b6c2d3;
  line-height: 1.68;
}

.hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  font-size: clamp(17px, 2vw, 21px);
  color: #cbd5e1;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.card {
  grid-column: span 4;
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(2, 6, 23, 0.82));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.26);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 0%, rgba(22, 135, 255, 0.12), transparent 18rem);
  pointer-events: none;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: #07101f;
}

.engine-card {
  padding: 16px;
}

.engine-card .card-icon,
.card-icon {
  width: 100%;
  max-height: 210px;
  object-fit: cover;
  border-radius: 20px;
  margin: 0 0 16px;
}

.engine-card h3 {
  font-size: 16px;
}

.engine-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.tag,
.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 999px;
  color: #93c5fd;
  background: rgba(22, 135, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.panel {
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.82);
  box-shadow: var(--shadow);
}

form {
  display: grid;
  gap: 14px;
}

label {
  color: #dbeafe;
  font-weight: 800;
  font-size: 13px;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  outline: none;
  background: rgba(2, 6, 23, 0.72);
  color: #fff;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

button {
  font: inherit;
}

button,
input[type="submit"] {
  border: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.72);
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  text-align: left;
}

th {
  color: #e2e8f0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

td {
  color: #cbd5e1;
}

.pricing-grid,
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.pricing-card,
.plan-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.86));
  box-shadow: 0 18px 60px rgba(0,0,0,.30);
}

.pricing-card img,
.plan-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 22px;
  margin-bottom: 18px;
}

.price {
  font-size: 34px;
  font-weight: 950;
  letter-spacing: -0.05em;
  color: #fff;
}

.site-footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 56px;
  color: var(--muted2);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .card {
    grid-column: span 6;
  }

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

@media (max-width: 640px) {
  .site-main {
    width: min(100% - 24px, 1180px);
    padding-top: 22px;
  }

  .hero {
    padding: 28px;
    border-radius: 24px;
  }

  h1 {
    font-size: 42px;
  }

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

  .card {
    grid-column: span 1;
  }

  .pricing-grid,
  .plans-grid {
    grid-template-columns: 1fr;
  }

  .site-nav a {
    padding: 8px 9px;
    font-size: 13px;
  }
}

/* Clean public pricing page */
.pricing-hero {
  margin-bottom: 34px;
}

.section-heading {
  max-width: 760px;
  margin: 0 0 22px;
}

.section-heading h2 {
  margin-top: 8px;
}

.pricing-section,
.addons-section {
  margin-top: 54px;
}

.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  min-height: 100%;
}

.pricing-card.featured {
  border-color: rgba(56, 189, 248, 0.52);
  box-shadow: 0 28px 90px rgba(22, 135, 255, 0.22);
}

.pricing-image {
  width: 100%;
  max-width: 210px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 auto 18px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.pricing-content {
  display: grid;
  gap: 10px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 6px 0;
}

.period,
.muted {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  color: #cbd5e1;
  line-height: 1.45;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue2);
  font-weight: 900;
}

.pricing-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.pricing-actions form {
  display: block;
}

.pricing-actions .btn {
  width: 100%;
}

.addon-grid .addon-card {
  grid-column: span 4;
}

.small-price {
  font-size: 24px;
}

.premium-note {
  margin-top: 54px;
}

@media (max-width: 980px) {
  .addon-grid .addon-card {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .addon-grid .addon-card {
    grid-column: span 1;
  }

  .pricing-image {
    max-width: 180px;
  }
}

/* Pricing alignment + spacing fix */
.pricing-hero {
  margin-bottom: 42px;
}

.pricing-section,
.addons-section {
  margin-top: 72px;
}

.section-heading {
  max-width: 760px;
  margin: 0 0 28px;
}

.section-heading .eyebrow {
  margin-bottom: 12px;
}

.addons-heading {
  margin-bottom: 34px;
}

.addons-heading .eyebrow {
  font-size: 14px;
  letter-spacing: 0.18em;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  padding: 22px;
}

.pricing-card.featured {
  border-color: rgba(56, 189, 248, 0.52);
  box-shadow: 0 28px 90px rgba(22, 135, 255, 0.22);
}

.pricing-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  margin-bottom: 12px;
}

.pricing-image {
  width: 100%;
  max-width: 108px;
  max-height: 108px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 22px;
}

.pricing-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.pricing-content h3 {
  min-height: 52px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 6px 0;
}

.period,
.muted {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  padding: 0 0 0 18px;
  flex: 1;
}

.feature-list li {
  color: #cbd5e1;
  line-height: 1.35;
}

.pricing-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.pricing-actions form {
  display: block;
}

.pricing-actions .btn {
  width: 100%;
}

.addon-grid .addon-card {
  grid-column: span 4;
}

.small-price {
  margin: 8px 0 14px;
  font-size: 24px;
}

.premium-note {
  margin-top: 64px;
}

@media (max-width: 1180px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .addon-grid .addon-card {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .addon-grid .addon-card {
    grid-column: span 1;
  }

  .pricing-image {
    max-width: 92px;
    max-height: 92px;
  }

  .pricing-content h3 {
    min-height: auto;
  }
}

/* --- pricing table size restore + addon icons --- */
.pricing-section,
.addons-section {
  margin-top: 78px;
}

.section-heading {
  max-width: 780px;
  margin: 0 0 30px;
}

.addons-heading {
  margin-bottom: 38px;
}

.addons-heading .eyebrow {
  font-size: 15px;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px;
}

.pricing-card.featured {
  border-color: rgba(56, 189, 248, 0.52);
  box-shadow: 0 28px 90px rgba(22, 135, 255, 0.22);
}

.pricing-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  margin-bottom: 18px;
}

.pricing-image {
  width: 100%;
  max-width: 190px;
  max-height: 190px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 24px;
}

.pricing-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.pricing-content h3 {
  min-height: 58px;
}

.feature-list {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  padding: 0 0 0 20px;
  flex: 1;
}

.feature-list li {
  color: #cbd5e1;
  line-height: 1.35;
}

.pricing-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.pricing-actions form {
  display: block;
}

.pricing-actions .btn {
  width: 100%;
}

/* add-ons */
.addon-grid {
  align-items: stretch;
}

.addon-grid .addon-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
}

.addon-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 108px;
  margin-bottom: 14px;
}

.addon-icon {
  width: 100%;
  max-width: 92px;
  max-height: 92px;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 20px;
}

.addon-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.addon-content h3 {
  min-height: 52px;
}

.small-price {
  margin: 10px 0 16px;
  font-size: 24px;
}

.addon-actions {
  margin-top: auto;
  padding-top: 10px;
}

.addon-actions .btn {
  width: 100%;
}

.premium-note {
  margin-top: 68px;
}

@media (max-width: 1180px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .addon-grid .addon-card {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .addon-grid .addon-card {
    grid-column: span 1;
  }

  .pricing-image-wrap {
    min-height: 180px;
  }

  .pricing-image {
    max-width: 156px;
    max-height: 156px;
  }

  .addon-icon {
    max-width: 82px;
    max-height: 82px;
  }

  .pricing-content h3,
  .addon-content h3 {
    min-height: auto;
  }
}

/* --- Studio / member area visual fix --- */

.studio-shell,
.studio-page,
.member-shell,
.dashboard-shell {
  display: grid;
  gap: 28px;
}

.studio-hero,
.member-hero,
.dashboard-hero {
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.82)),
    radial-gradient(circle at 80% 10%, rgba(22, 135, 255, 0.20), transparent 28rem);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.studio-grid,
.engine-grid,
.generator-grid,
.member-grid,
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.studio-card,
.generator-card,
.engine-card,
.member-card,
.dashboard-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.86));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.26);
}

.studio-card img,
.generator-card img,
.engine-card img,
.member-card img,
.dashboard-card img,
.studio-grid img,
.generator-grid img,
.engine-grid img {
  width: 86px !important;
  height: 86px !important;
  max-width: 86px !important;
  max-height: 86px !important;
  object-fit: contain !important;
  border-radius: 20px;
  margin: 0 0 16px !important;
  background: rgba(2, 6, 23, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.studio-card h3,
.generator-card h3,
.engine-card h3,
.member-card h3,
.dashboard-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.studio-card p,
.generator-card p,
.engine-card p,
.member-card p,
.dashboard-card p {
  margin: 0 0 14px;
  color: #aebbd0;
  font-size: 14px;
  line-height: 1.55;
}

.studio-card .btn,
.generator-card .btn,
.engine-card .btn,
.member-card .btn,
.dashboard-card .btn {
  margin-top: auto;
  width: 100%;
}

.studio-form,
.generator-form {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.82);
}

.studio-form img,
.generator-form img,
form img {
  max-width: 96px !important;
  max-height: 96px !important;
  object-fit: contain !important;
}

@media (max-width: 980px) {
  .studio-grid,
  .engine-grid,
  .generator-grid,
  .member-grid,
  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .studio-grid,
  .engine-grid,
  .generator-grid,
  .member-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .studio-card img,
  .generator-card img,
  .engine-card img,
  .member-card img,
  .dashboard-card img,
  .studio-grid img,
  .generator-grid img,
  .engine-grid img {
    width: 74px !important;
    height: 74px !important;
    max-width: 74px !important;
    max-height: 74px !important;
  }
}

/* --- real Studio/member layout patch --- */

.studio-hero,
.member-hero {
  margin-bottom: 58px;
}

.studio-apps-section,
.studio-builder-section,
.studio-addons-section,
.studio-products-section,
.app-launcher-section {
  margin-top: 72px;
}

.studio-engine-grid,
.studio-product-grid,
.app-launcher-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.studio-engine-card,
.studio-product-card,
.app-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.86));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.26);
}

.app-card {
  grid-column: span 4;
  flex-direction: row;
  align-items: center;
}

.studio-engine-icon,
.studio-engine-card img,
.studio-product-card img,
.app-card img {
  width: 84px !important;
  height: 84px !important;
  min-width: 84px !important;
  max-width: 84px !important;
  max-height: 84px !important;
  object-fit: contain !important;
  border-radius: 20px;
  margin: 0 !important;
  background: rgba(2, 6, 23, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.studio-engine-body h3,
.studio-engine-card h3,
.studio-product-card h3,
.app-card h3 {
  margin: 0 0 8px;
  color: #f8fafc;
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.studio-engine-body p,
.studio-engine-card p,
.studio-product-card p,
.app-card p {
  margin: 0;
  color: #aebbd0;
  font-size: 14px;
  line-height: 1.5;
}

.studio-builder-panel {
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 30px;
  background: rgba(15, 23, 42, 0.82);
  box-shadow: 0 20px 70px rgba(0,0,0,.28);
}

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

.studio-form label {
  display: grid;
  gap: 8px;
}

.studio-form .wide,
.studio-form button.wide {
  grid-column: 1 / -1;
}

.checkbox-line {
  display: flex !important;
  align-items: center;
  gap: 10px;
}

.checkbox-line input {
  width: auto;
  min-height: auto;
}

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

.studio-addon-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.72);
}

.studio-addon-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.studio-addon-card p {
  margin: 0;
  color: #aebbd0;
  font-size: 13px;
}

.studio-addon-action {
  margin-top: auto;
  padding-top: 16px;
}

.studio-addon-action form {
  display: block;
}

.studio-addon-action .btn {
  width: 100%;
}

.addon-price {
  margin-bottom: 10px !important;
  color: #f8fafc !important;
  font-size: 22px !important;
  font-weight: 900;
}

.addon-price span {
  color: #94a3b8;
  font-size: 12px;
}

.empty-state {
  padding: 32px;
  border: 1px dashed rgba(148, 163, 184, 0.25);
  border-radius: 26px;
  background: rgba(15, 23, 42, 0.52);
}

@media (max-width: 1180px) {
  .studio-engine-grid,
  .studio-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 980px) {
  .studio-form {
    grid-template-columns: 1fr;
  }

  .studio-engine-grid,
  .studio-product-grid,
  .app-launcher-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-card {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .studio-engine-grid,
  .studio-product-grid,
  .app-launcher-grid,
  .studio-addon-grid {
    grid-template-columns: 1fr;
  }

  .app-card {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- Premium member lobby --- */

.member-lobby {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.65fr);
  gap: 28px;
  align-items: stretch;
  padding: clamp(34px, 6vw, 78px);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 38px;
  background:
    radial-gradient(circle at 75% 20%, rgba(22, 135, 255, 0.24), transparent 28rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.84));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
}

.member-lobby-glow {
  position: absolute;
  inset: auto -10% -45% 30%;
  height: 420px;
  background: radial-gradient(circle, rgba(22, 135, 255, 0.22), transparent 62%);
  pointer-events: none;
}

.member-lobby-copy,
.member-status-card {
  position: relative;
  z-index: 1;
}

.member-lobby h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.93;
  letter-spacing: -0.075em;
}

.member-lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: #cbd5e1;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.62;
}

.member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.member-status-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.88));
  box-shadow: 0 24px 80px rgba(0,0,0,.32);
}

.status-top {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 8px 11px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 999px;
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.08);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 18px rgba(34,197,94,.8);
}

.member-status-card h2 {
  margin: 28px 0 8px;
  font-size: 30px;
}

.status-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 26px;
}

.status-metrics div {
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}

.status-metrics strong {
  display: block;
  color: #fff;
  font-size: 22px;
}

.status-metrics span {
  display: block;
  margin-top: 4px;
  color: #94a3b8;
  font-size: 12px;
}

.member-suite-section,
.member-concierge {
  margin-top: 76px;
}

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

.member-suite-card {
  display: flex;
  gap: 18px;
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.90), rgba(2, 6, 23, 0.84));
  box-shadow: 0 18px 60px rgba(0,0,0,.26);
  transition: 180ms ease;
}

.member-suite-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 26px 90px rgba(22, 135, 255, 0.16);
}

.member-suite-card.primary {
  border-color: rgba(56, 189, 248, 0.34);
}

.member-suite-card img {
  width: 92px !important;
  height: 92px !important;
  min-width: 92px !important;
  max-width: 92px !important;
  max-height: 92px !important;
  object-fit: contain !important;
  border-radius: 22px;
  margin: 0 !important;
  background: rgba(2, 6, 23, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.suite-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 9px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(22, 135, 255, 0.10);
  color: #93c5fd;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.member-suite-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.member-suite-card p {
  margin: 0;
  color: #aebbd0;
  line-height: 1.55;
}

.member-concierge {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 32px;
  background: rgba(15, 23, 42, 0.72);
}

.member-concierge h2 {
  margin-top: 8px;
}

.concierge-steps {
  display: grid;
  gap: 12px;
}

.concierge-steps div {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.36);
}

.concierge-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(22, 135, 255, 0.13);
  color: #93c5fd;
  font-weight: 950;
}

.concierge-steps p {
  margin: 0;
  color: #cbd5e1;
}

@media (max-width: 980px) {
  .member-lobby,
  .member-concierge {
    grid-template-columns: 1fr;
  }

  .member-suite-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .member-lobby {
    padding: 28px;
    border-radius: 28px;
  }

  .member-suite-card {
    flex-direction: column;
  }

  .member-suite-card img {
    width: 82px !important;
    height: 82px !important;
    min-width: 82px !important;
  }
}

/* --- Member dashboard real access status --- */

.member-lobby.is-inactive {
  border-color: rgba(245, 158, 11, 0.28);
}

.status-top.inactive {
  border-color: rgba(245, 158, 11, 0.30);
  color: #fde68a;
  background: rgba(245, 158, 11, 0.08);
}

.status-top.inactive .status-dot {
  background: #f59e0b;
  box-shadow: 0 0 18px rgba(245, 158, 11, .75);
}

.member-suite-card.locked {
  opacity: 0.72;
}

.member-suite-card.locked:hover {
  opacity: 0.9;
}

.member-entitlements {
  margin-top: 76px;
}

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

.entitlement-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(2, 6, 23, 0.80));
}

.entitlement-card.active {
  border-color: rgba(34, 197, 94, 0.28);
}

.entitlement-card.inactive {
  border-color: rgba(245, 158, 11, 0.28);
}

.entitlement-card h3 {
  margin: 0;
}

.entitlement-status {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  color: #93c5fd;
  background: rgba(22, 135, 255, 0.10);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.entitlement-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #cbd5e1;
}

.entitlement-card .btn {
  width: fit-content;
  margin-top: auto;
}

@media (max-width: 980px) {
  .entitlement-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Premium checkout success page --- */

.success-lobby {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  text-align: center;
  padding: clamp(38px, 7vw, 86px);
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 38px;
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 197, 94, 0.18), transparent 30rem),
    radial-gradient(circle at 80% 20%, rgba(22, 135, 255, 0.16), transparent 28rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.86));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.42);
}

.success-mark {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.10);
  border: 1px solid rgba(34, 197, 94, 0.34);
  box-shadow: 0 0 60px rgba(34, 197, 94, 0.20);
}

.success-mark span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #22c55e;
  color: #02130a;
  font-size: 34px;
  font-weight: 950;
}

.success-lobby h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.success-lead {
  max-width: 780px;
  margin: 22px auto 0;
  color: #cbd5e1;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.62;
}

.success-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 980px;
  margin-top: 34px;
}

.success-summary article {
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.34);
  text-align: left;
}

.success-summary span {
  display: block;
  margin-bottom: 6px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.success-summary strong {
  display: block;
  color: #fff;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.success-next {
  margin-top: 64px;
}

.success-next h2 {
  margin-top: 8px;
}

@media (max-width: 980px) {
  .success-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .success-summary {
    grid-template-columns: 1fr;
  }
}

/* --- Social share block --- */

.social-share {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 76px;
  padding: 26px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at 80% 20%, rgba(22, 135, 255, 0.14), transparent 22rem),
    linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(2, 6, 23, 0.80));
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
}

.social-share-copy h2 {
  margin: 8px 0 8px;
  font-size: clamp(24px, 3vw, 34px);
}

.social-share-copy p:not(.eyebrow) {
  margin: 0;
  max-width: 680px;
  color: #aebbd0;
}

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

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 14px 8px 8px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.44);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 900;
  transition: 160ms ease;
}

.social-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.58);
  box-shadow: 0 16px 44px rgba(22, 135, 255, 0.18);
}

.social-btn img {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  object-fit: contain !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

@media (max-width: 980px) {
  .social-share {
    grid-template-columns: 1fr;
  }

  .social-share-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .social-share-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .social-btn {
    width: 100%;
  }
}

/* --- Auth/login page cleanup --- */

.auth-page,
.login-page,
.register-page {
  width: min(520px, 100%);
  margin: 0 auto;
}

.auth-card,
.login-card,
.register-card,
form[action="/login"],
form[action="/register"] {
  width: min(520px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 30px;
  background:
    radial-gradient(circle at 80% 0%, rgba(22, 135, 255, 0.16), transparent 22rem),
    linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.86));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

.auth-card img,
.login-card img,
.register-card img,
form[action="/login"] img,
form[action="/register"] img,
.site-main > img {
  width: 84px !important;
  height: 84px !important;
  max-width: 84px !important;
  max-height: 84px !important;
  object-fit: contain !important;
  margin: 0 auto 18px !important;
  border-radius: 22px;
}

form[action="/login"] label,
form[action="/register"] label {
  display: grid;
  gap: 8px;
}

form[action="/login"] button,
form[action="/register"] button,
form[action="/login"] .btn,
form[action="/register"] .btn {
  width: 100%;
  margin-top: 8px;
}

form[action="/login"] + p,
form[action="/register"] + p {
  max-width: 520px;
  margin: 18px auto 0;
  text-align: center;
  color: #94a3b8;
}

/* Prevent accidental giant images on utility/auth pages */
.site-main > section.panel img,
.site-main > form img,
.panel img:not(.pricing-image):not(.studio-engine-icon):not(.member-suite-card img) {
  max-width: 120px !important;
  max-height: 120px !important;
  object-fit: contain !important;
}

/* Keep social icons small everywhere */
.social-btn img,
img[src*="/assets/icons/social/"] {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  object-fit: contain !important;
  margin: 0 !important;
}

/* Do not let the social card SVG render huge if accidentally placed inline */
img[src*="resell-empire-social-card"] {
  max-width: 100%;
  height: auto;
  border-radius: 24px;
}

/* --- Premium homepage rebuild --- */

.home-hero {
  margin-bottom: 72px;
}

.home-suite,
.home-positioning,
.home-cta,
.home-products {
  margin-top: 76px;
}

.home-positioning {
  align-items: center;
}

.home-cta {
  overflow: hidden;
  position: relative;
}

.home-cta::after {
  content: "";
  position: absolute;
  inset: auto -10% -50% 45%;
  height: 360px;
  background: radial-gradient(circle, rgba(22, 135, 255, 0.20), transparent 62%);
  pointer-events: none;
}

.home-cta > * {
  position: relative;
  z-index: 1;
}

.home-cta h2 {
  margin-top: 8px;
}

.home-products .card img {
  max-height: 210px;
  object-fit: cover;
}

@media (max-width: 640px) {
  .home-suite,
  .home-positioning,
  .home-cta,
  .home-products {
    margin-top: 52px;
  }
}

/* --- Footer legal links + legal pages restore --- */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 800;
}

.footer-links a:hover {
  color: #fff;
}

.legal-hero {
  margin-bottom: 54px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}

.legal-card,
.legal-side-card {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 30px;
  background:
    radial-gradient(circle at 80% 0%, rgba(22, 135, 255, 0.12), transparent 24rem),
    linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.84));
  box-shadow: 0 22px 70px rgba(0,0,0,.28);
}

.legal-card {
  padding: clamp(24px, 5vw, 46px);
}

.legal-side-card {
  position: sticky;
  top: 98px;
  padding: 24px;
}

.legal-prose h2 {
  margin: 34px 0 10px;
  font-size: 24px;
}

.legal-prose h2:first-child {
  margin-top: 0;
}

.legal-prose p {
  margin: 0 0 16px;
  color: #cbd5e1;
}

.legal-prose a,
.legal-card a {
  color: #93c5fd;
  font-weight: 800;
}

.legal-side-card ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 18px;
  color: #cbd5e1;
}

@media (max-width: 980px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-side-card {
    position: static;
  }
}

/* --- Contact form restore --- */
.contact-form-card h2 {
  margin-bottom: 10px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form .wide {
  grid-column: 1 / -1;
}

.contact-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.5;
}

.contact-consent input {
  width: auto;
  min-height: auto;
  margin-top: 4px;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.notice {
  margin: 20px 0;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(2, 6, 23, 0.42);
}

.notice p {
  margin: 6px 0 0;
}

.notice.success {
  border-color: rgba(34, 197, 94, 0.28);
  background: rgba(34, 197, 94, 0.08);
}

.notice.warning {
  border-color: rgba(245, 158, 11, 0.28);
  background: rgba(245, 158, 11, 0.08);
}

@media (max-width: 720px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
}

/* --- Dimmed blue upgrade buttons --- */

.addon-card .btn,
.studio-addon-card .btn,
.addon-actions .btn,
.studio-addon-action .btn {
  background:
    linear-gradient(135deg, rgba(22, 135, 255, 0.42), rgba(56, 189, 248, 0.30)) !important;
  border: 1px solid rgba(56, 189, 248, 0.34) !important;
  color: #dbeafe !important;
  box-shadow: 0 10px 32px rgba(22, 135, 255, 0.10) !important;
  opacity: 0.78;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.addon-card .btn:hover,
.studio-addon-card .btn:hover,
.addon-actions .btn:hover,
.studio-addon-action .btn:hover {
  background:
    linear-gradient(135deg, rgba(22, 135, 255, 0.86), rgba(56, 189, 248, 0.72)) !important;
  border-color: rgba(125, 211, 252, 0.75) !important;
  color: #ffffff !important;
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 18px 52px rgba(22, 135, 255, 0.24) !important;
}

.addon-card .btn:focus-visible,
.studio-addon-card .btn:focus-visible,
.addon-actions .btn:focus-visible,
.studio-addon-action .btn:focus-visible {
  outline: 2px solid rgba(125, 211, 252, 0.9);
  outline-offset: 3px;
}

/* --- Never translate brand/URL --- */

.no-translate,
.notranslate,
[translate="no"] {
  unicode-bidi: isolate;
}

/* Keep brand name visually stable */
.brand .no-translate,
.brand-name.no-translate {
  display: inline-block;
}

/* Ensure protected URL/brand fragments do not get odd spacing */
.no-translate {
  white-space: nowrap;
}

/* --- Public-only image protection helpers --- */

.protected-public-image,
.protected-public-media,
.pricing-image,
.home-products .card img {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

/* Keep app/workspace freedom: no restrictions added for studio/member/admin/webinar */

/* --- Public-only text selection protection --- */
/* Applied by script only on public pages: /, /pricing, /product/... */

.protected-public-image,
.protected-public-media,
.pricing-image,
.home-products .card img {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

body:has(script) .hero,
body:has(script) .home-suite,
body:has(script) .home-positioning,
body:has(script) .home-cta,
body:has(script) .home-products,
body:has(script) .pricing-hero,
body:has(script) .pricing-grid,
body:has(script) .addon-grid,
body:has(script) .social-share {
  -webkit-user-select: none;
  user-select: none;
}

input,
textarea,
select,
button,
a {
  -webkit-user-select: auto;
  user-select: auto;
}

/* --- Public page text protection, only activated when JS adds class --- */

body.public-protected-page {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

body.public-protected-page a,
body.public-protected-page button,
body.public-protected-page input,
body.public-protected-page textarea,
body.public-protected-page select,
body.public-protected-page [contenteditable="true"] {
  -webkit-user-select: auto;
  user-select: auto;
  -webkit-touch-callout: default;
}

body.public-protected-page img {
  -webkit-user-drag: none;
  user-drag: none;
}

/* --- CSS locked brand/product titles --- */
/* Used when external translation widgets ignore translate="no". */

.brand-locked-title {
  position: relative;
  display: block;
  min-height: 1.35em;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  white-space: normal;
}

.brand-locked-title::after {
  content: attr(data-original-text);
  position: absolute;
  inset: 0 auto auto 0;
  color: #f8fafc;
  -webkit-text-fill-color: #f8fafc;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  white-space: normal;
  pointer-events: none;
}

.brand-locked-title * {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

/* --- Footer owner/address line --- */

.footer-owner {
  margin-top: 8px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
