@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap");

:root {
  --bg: #f4efe7;
  --bg-strong: #fff8ef;
  --surface: rgba(255, 248, 239, 0.78);
  --surface-strong: rgba(255, 250, 244, 0.92);
  --card-border: rgba(27, 30, 37, 0.08);
  --text: #11161d;
  --muted: #56606e;
  --accent: #0f9d8f;
  --accent-strong: #0d7267;
  --accent-soft: rgba(15, 157, 143, 0.14);
  --secondary: #f25d3d;
  --secondary-soft: rgba(242, 93, 61, 0.12);
  --success: #136b47;
  --warning: #b56b00;
  --danger: #9e2f2f;
  --shadow: 0 30px 90px rgba(17, 22, 29, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content-width: min(1160px, calc(100vw - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Instrument Sans", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(15, 157, 143, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(242, 93, 61, 0.18), transparent 24%),
    linear-gradient(180deg, #fff9f1 0%, #f4efe7 48%, #efe7dc 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex-grow: 1;
}

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

button,
input,
select {
  font: inherit;
}

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

[hidden] {
  display: none !important;
}

.page-shell,
.gateway-shell {
  position: relative;
  overflow-x: clip;
}

.page-shell::before,
.gateway-shell::before {
  content: "";
  position: fixed;
  inset: auto -10vw -20vh auto;
  width: 42vw;
  height: 42vw;
  background: radial-gradient(circle, rgba(15, 157, 143, 0.16), transparent 70%);
  pointer-events: none;
  filter: blur(8px);
}

.container {
  width: var(--content-width);
  margin: 0 auto;
}

.dashboard-page {
  --dashboard-header-offset: calc(6rem + env(safe-area-inset-top));
}

.landing-page {
  --landing-header-offset: calc(5.5rem + env(safe-area-inset-top));
}

.landing-page [data-header-root] {
  display: block;
  min-height: var(--landing-header-offset);
}

.landing-page .site-header {
  position: fixed;
  top: env(safe-area-inset-top);
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
}

.dashboard-page [data-header-root] {
  display: block;
  min-height: var(--dashboard-header-offset);
}

.dashboard-page .site-header {
  position: fixed;
  top: env(safe-area-inset-top);
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
}

.dashboard-main {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: calc(100vh - var(--dashboard-header-offset));
  min-height: calc(100dvh - var(--dashboard-header-offset));
  padding-bottom: 2.5rem;
}

.site-header {
  width: var(--content-width);
  margin: 0 auto;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 252, 247, 0.72);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(17, 22, 29, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 16px;
  flex-shrink: 0;
  background: center / contain no-repeat url("/img/logo.png");
  filter: drop-shadow(0 10px 22px rgba(17, 22, 29, 0.12));
}

.brand-mark {
  display: none;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header-links a,
.header-links button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
}

.header-links a:hover,
.header-links button:hover {
  background: rgba(17, 22, 29, 0.05);
  color: var(--text);
}

.shared-header__nav {
  justify-content: flex-end;
}

.shared-header__group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.shared-header__link {
  font-weight: 600;
}

.header-links a.shared-header__link--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: white;
  box-shadow: 0 14px 28px rgba(15, 114, 103, 0.22);
}

.header-links a.shared-header__link--primary:hover,
.header-links a.shared-header__link--primary:focus-visible {
  background: linear-gradient(135deg, var(--accent-strong) 0%, #0c5f57 100%);
  color: white;
}

.header-links a.shared-header__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 22, 29, 0.08);
  background:
    linear-gradient(135deg, rgba(15, 157, 143, 0.16), rgba(242, 93, 61, 0.18)),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 24px rgba(17, 22, 29, 0.08);
}

.header-links a.shared-header__avatar:hover,
.header-links a.shared-header__avatar:focus-visible {
  background:
    linear-gradient(135deg, rgba(15, 157, 143, 0.2), rgba(242, 93, 61, 0.22)),
    rgba(255, 255, 255, 0.92);
  color: var(--text);
}

.shared-header__avatar img,
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shared-header__avatar span,
.profile-avatar span {
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text);
}

.button,
.button-ghost,
.button-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.button {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: white;
  box-shadow: 0 16px 34px rgba(15, 114, 103, 0.28);
}

.button-danger {
  background: linear-gradient(135deg, #d94b3d 0%, #a7372c 100%);
  box-shadow: 0 16px 34px rgba(167, 55, 44, 0.24);
}

.button:hover,
.button-ghost:hover,
.button-inline:hover {
  transform: translateY(-1px);
}

.button-ghost {
  border-color: var(--card-border);
  background: rgba(255, 255, 255, 0.55);
}

.button-inline {
  padding: 0;
  background: transparent;
  color: var(--accent-strong);
}

.hero-grid,
.content-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}

.hero-grid {
  padding: 1.35rem 0 2.5rem;
  min-height: calc(100vh - 5.5rem);
  align-items: start;
}

.hero-copy {
  grid-column: span 7;
  align-self: start;
  padding-top: clamp(0.4rem, 1.8vw, 1.3rem);
  opacity: 0;
  transform: translate3d(0, 3.5rem, 0);
  animation: heroCopyRise 820ms cubic-bezier(0.2, 0.9, 0.2, 1) 120ms forwards;
}

.hero-panel {
  grid-column: span 5;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 0.95;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy p {
  margin-top: 1.2rem;
  font-size: 1.08rem;
  max-width: 40rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.stat-row,
.feature-grid,
.card-grid,
.gallery-grid,
.queue-grid {
  display: grid;
  gap: 1rem;
}

.stat-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

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

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

.card-grid--shows {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  align-items: start;
}

@media (min-width: 1120px) {
  .dashboard-page .card-grid--shows {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.queue-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.glass-card,
.metric-card,
.feature-card,
.panel-card,
.photo-card,
.queue-card,
.gateway-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.glass-card,
.panel-card,
.gateway-card {
  padding: 1.5rem;
}

.metric-card,
.feature-card,
.queue-card,
.photo-card {
  padding: 1.2rem;
}

.hero-preview {
  min-height: 100%;
  display: grid;
  gap: 1rem;
}

.hero-gallery-scroller {
  position: relative;
  height: 600px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  box-shadow: var(--shadow);
  transform: translateZ(0); /* Force hardware accel for smooth mask/scroll */
}

.scroller-track-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  height: 100%;
}

.scroller-track {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: scrollVertical 35s linear infinite;
  will-change: transform;
}

.scroller-track:nth-child(2) {
  animation-duration: 45s;
  animation-direction: reverse;
}

.scroller-track:nth-child(3) {
  animation-duration: 25s;
}

.scroller-track img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

@keyframes scrollVertical {
  0% { transform: translateY(0); }
  100% { transform: translateY(calc(-50% - 0.5rem)); }
}

@keyframes heroCopyRise {
  0% {
    opacity: 0;
    transform: translate3d(0, 3.5rem, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes skeletonShimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.preview-stage {
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(15, 157, 143, 0.16), rgba(242, 93, 61, 0.1)),
    rgba(255, 250, 244, 0.78);
  padding: 1rem;
}

.preview-stack {
  display: grid;
  gap: 0.8rem;
}

.preview-photo {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(15, 157, 143, 0.3), rgba(242, 93, 61, 0.1)),
    url("https://images.unsplash.com/photo-1511578314322-379afb476865?auto=format&fit=crop&w=900&q=80") center/cover;
}

.preview-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.preview-chip {
  padding: 0.7rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--text);
  font-weight: 600;
}

.section {
  padding: 1.8rem 0 2.2rem;
}

.section-heading {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.2rem;
}

.section-heading--flow {
  margin-bottom: 1.6rem;
  max-width: 42rem;
}

.section--flow {
  padding-top: 2.8rem;
}

.flow-layout {
  display: grid;
  grid-template-areas: "visual main";
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: start;
}

.flow-main {
  grid-area: main;
}

.flow-visual {
  grid-area: visual;
  padding: 1.15rem;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-visual__hero {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(15, 157, 143, 0.22), rgba(242, 93, 61, 0.12)),
    url("https://images.unsplash.com/photo-1511578314322-379afb476865?auto=format&fit=crop&w=900&q=80") center/cover;
  box-shadow: 0 22px 60px rgba(17, 22, 29, 0.08);
}



.feature-grid--steps,
.feature-grid--benefits {
  gap: 1.5rem;
}

.feature-grid--steps {
  grid-template-columns: 1fr;
  max-width: none;
}

.feature-card--step,
.feature-card--benefit {
  position: relative;
  padding: 1.7rem 1.8rem;
  overflow: hidden;
}

.feature-card--step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 242, 0.9)),
    var(--surface);
}

.feature-card--benefit {
  display: grid;
  gap: 0.7rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(249, 243, 235, 0.88)),
    var(--surface);
}

.feature-card--step .badge {
  width: 3.4rem;
  height: 3.4rem;
  padding: 0;
  display: inline-grid;
  place-items: center;
  font-size: 1.05rem;
  font-weight: 800;
}

.feature-card__content {
  display: grid;
  gap: 0.45rem;
  max-width: 34rem;
}

.feature-card--benefit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15, 157, 143, 0.04), transparent 45%, rgba(242, 93, 61, 0.06));
  pointer-events: none;
}

.feature-card--benefit > * {
  position: relative;
}

.feature-card--benefit p,
.feature-card__content p,
.section-heading--flow p {
  max-width: 34rem;
}

.section-heading--dashboard,
.cta-row--dashboard {
  justify-items: start;
  justify-content: flex-start;
}

.page-hero {
  padding: 2.3rem 0 1.2rem;
}

.page-hero-card {
  padding: 1.5rem;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(15, 157, 143, 0.11), rgba(255, 255, 255, 0.7));
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
}

.layout-two {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 1.2rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.create-show-skeleton {
  display: grid;
  gap: 1rem;
}

.create-show-skeleton__row {
  display: grid;
  gap: 0.6rem;
}

.create-show-skeleton__pill-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.skeleton-block {
  display: block;
  border-radius: 16px;
  background:
    linear-gradient(110deg, rgba(17, 22, 29, 0.06) 8%, rgba(255, 255, 255, 0.72) 18%, rgba(17, 22, 29, 0.06) 33%),
    rgba(17, 22, 29, 0.05);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.35s linear infinite;
}

.skeleton-block--label {
  width: 7.5rem;
  height: 0.95rem;
  border-radius: 999px;
}

.skeleton-block--label-wide {
  width: 10.5rem;
}

.skeleton-block--micro {
  width: min(100%, 28rem);
  height: 0.85rem;
  border-radius: 999px;
}

.skeleton-block--input {
  height: 3.45rem;
}

.skeleton-block--pill {
  height: 3.2rem;
  border-radius: 999px;
}

.skeleton-block--textarea {
  height: 7.75rem;
}

.skeleton-block--upsell {
  height: 8.4rem;
  border-radius: 24px;
}

.skeleton-block--button {
  width: min(100%, 12rem);
  height: 3.3rem;
  border-radius: 999px;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row label {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(17, 22, 29, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  padding: 0.95rem 1rem;
}

.form-row textarea {
  min-height: 7.5rem;
  resize: vertical;
  font: inherit;
}

.form-row textarea:focus {
  outline: 2px solid rgba(15, 157, 143, 0.18);
  outline-offset: 2px;
  border-color: rgba(15, 157, 143, 0.35);
}

.form-help {
  margin-top: 0.1rem;
}

.plan-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.plan-picker-card {
  appearance: none;
  display: grid;
  align-content: start;
  gap: 0.55rem;
  width: 100%;
  min-height: 100%;
  padding: 1rem;
  border: 1px solid rgba(17, 22, 29, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.plan-picker-card:hover,
.plan-picker-card:focus-visible {
  border-color: rgba(15, 157, 143, 0.34);
  box-shadow: 0 12px 28px rgba(17, 22, 29, 0.08);
  transform: translateY(-1px);
}

.plan-picker-card:focus-visible {
  outline: 2px solid rgba(15, 157, 143, 0.18);
  outline-offset: 2px;
}

.plan-picker-card.is-active {
  border-color: rgba(15, 157, 143, 0.42);
  background:
    linear-gradient(135deg, rgba(15, 157, 143, 0.12), rgba(255, 255, 255, 0.92)),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 38px rgba(17, 22, 29, 0.1);
}

.plan-picker-card:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.plan-picker-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.plan-picker-card__name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.05;
}

.plan-picker-card__price {
  font-size: 1.05rem;
  font-weight: 700;
  white-space: nowrap;
}

.plan-picker-card__body {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.45;
}

.plan-picker-card__note {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
}

.plan-picker-card__note--warning {
  color: var(--warning);
}

.pill-switch {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(17, 22, 29, 0.05);
}

.pill-switch--modes {
  width: 100%;
  flex-wrap: wrap;
}

.pill-switch button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 0.75rem 1rem;
  cursor: pointer;
}

.pill-switch--modes button {
  flex: 1 1 11rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
}

.pill-switch button.is-active {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  box-shadow: 0 10px 22px rgba(17, 22, 29, 0.08);
}

.plus-upsell {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 24px;
  border: 1px solid rgba(15, 114, 103, 0.14);
  background:
    linear-gradient(135deg, rgba(15, 157, 143, 0.1), rgba(255, 255, 255, 0.88)),
    rgba(255, 255, 255, 0.78);
}

.plus-upsell__copy {
  display: grid;
  gap: 0.3rem;
}

.plus-upsell__title {
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.plus-upsell__actions {
  margin-top: 0;
}

.notice {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid transparent;
}

.notice[data-tone="info"] {
  background: rgba(15, 157, 143, 0.08);
  border-color: rgba(15, 157, 143, 0.18);
  color: var(--accent-strong);
}

.notice[data-tone="success"] {
  background: rgba(19, 107, 71, 0.08);
  border-color: rgba(19, 107, 71, 0.18);
  color: var(--success);
}

.notice[data-tone="danger"] {
  background: rgba(158, 47, 47, 0.08);
  border-color: rgba(158, 47, 47, 0.18);
  color: var(--danger);
}

.notice[data-tone="warning"] {
  background: rgba(181, 107, 0, 0.08);
  border-color: rgba(181, 107, 0, 0.18);
  color: var(--warning);
}

.show-card {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 251, 246, 0.98), rgba(255, 247, 239, 0.9));
  border: 1px solid rgba(27, 30, 37, 0.08);
  box-shadow: 0 18px 40px rgba(17, 22, 29, 0.06);
}

.show-card--dashboard {
  gap: 1.15rem;
  padding: 1.35rem;
  border-radius: 24px;
}

.show-card-heading,
.show-card-mode {
  display: grid;
  gap: 0.7rem;
}

.show-card-mode--inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.show-card-title h3 {
  font-size: clamp(1.45rem, 2.5vw, 1.8rem);
  line-height: 1;
}

.show-card-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--muted);
}

.show-card-mode-badge {
  width: fit-content;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
}

.show-card-mode-value {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.show-card-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.show-card-metric {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(17, 22, 29, 0.08);
  background: rgba(255, 255, 255, 0.56);
}

.show-card-metric-value {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1;
}

.show-card-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.show-card--dashboard .show-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.show-card-actions > * {
  flex: 1 1 180px;
  min-width: 0;
}

.show-card-actions .button,
.show-card-actions .button-ghost {
  width: 100%;
  min-height: 3.2rem;
}

.show-card--interactive {
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.show-card--interactive:hover,
.show-card--interactive:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(15, 157, 143, 0.34);
  box-shadow: 0 20px 44px rgba(17, 22, 29, 0.08);
}

.show-card-top,
.split-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.split-line > * {
  min-width: 0;
}

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

.micro {
  font-size: 0.88rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.badge-button {
  border: 0;
  cursor: pointer;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    opacity 140ms ease;
}

.badge-button:hover,
.badge-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(17, 22, 29, 0.08);
}

.badge-button:focus-visible {
  outline: 2px solid rgba(15, 157, 143, 0.25);
  outline-offset: 2px;
}

.badge-button:disabled {
  cursor: default;
  box-shadow: none;
  opacity: 0.9;
}

.badge[data-tone="info"] {
  background: rgba(15, 157, 143, 0.12);
  color: var(--accent-strong);
}

.badge[data-tone="success"] {
  background: rgba(19, 107, 71, 0.12);
  color: var(--success);
}

.badge[data-tone="warning"] {
  background: rgba(181, 107, 0, 0.12);
  color: var(--warning);
}

.badge[data-tone="danger"] {
  background: rgba(158, 47, 47, 0.12);
  color: var(--danger);
}

.qr-frame {
  aspect-ratio: 1;
  width: min(100%, 300px);
  margin: 0 auto;
  padding: 0.9rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--card-border);
}

.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-frame--compact {
  width: min(100%, 164px);
  padding: 0.65rem;
  border-radius: 22px;
}

.link-box {
  display: grid;
  gap: 0.8rem;
}

.link-box input {
  border: 1px solid rgba(17, 22, 29, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  padding: 0.9rem 1rem;
}

.action-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.action-row--center {
  justify-content: center;
}

.moderation-instructions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(17, 22, 29, 0.08);
}

.moderation-instructions textarea {
  width: 100%;
  min-height: 8.5rem;
  resize: vertical;
  border: 1px solid rgba(17, 22, 29, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--text);
}

.moderation-instructions textarea:focus {
  outline: 2px solid rgba(15, 157, 143, 0.18);
  outline-offset: 2px;
  border-color: rgba(15, 157, 143, 0.35);
}

.billing-panel {
  display: grid;
  gap: 1rem;
}

.billing-plan-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

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

.billing-stat {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(17, 22, 29, 0.08);
  background: rgba(255, 255, 255, 0.68);
}

.billing-stat strong {
  font-size: 1.2rem;
  line-height: 1.1;
}

.billing-stat--availability {
  align-content: start;
}

.billing-meter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.billing-meter-head .micro:last-child {
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
}

.billing-meter {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(17, 22, 29, 0.08);
}

.billing-meter > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f9d8f 0%, #0b756d 100%);
  transition: width 0.24s ease;
}

.billing-meter[data-tone="warning"] > span {
  background: linear-gradient(90deg, #f2a93b 0%, #e17d1a 100%);
}

.billing-meter[data-tone="danger"] > span {
  background: linear-gradient(90deg, #f25d3d 0%, #c23f28 100%);
}

.billing-meter[data-tone="muted"] > span {
  background: linear-gradient(90deg, rgba(27, 30, 37, 0.22) 0%, rgba(27, 30, 37, 0.22) 100%);
}

.billing-timeline {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.1rem;
}

.billing-timeline-row {
  display: grid;
  gap: 0.35rem;
}

.photo-thumb,
.queue-thumb {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15, 157, 143, 0.16), rgba(242, 93, 61, 0.08));
  overflow: hidden;
}

.photo-thumb img,
.queue-thumb img,
.photo-thumb video,
.queue-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-meta,
.queue-meta {
  display: grid;
  gap: 0.55rem;
}

.gallery-masonry {
  columns: 280px;
  column-gap: 1rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
}

.gallery-item .photo-card {
  display: grid;
  gap: 0.8rem;
}

.empty-state {
  padding: 1.8rem;
  border-radius: 24px;
  border: 1px dashed rgba(17, 22, 29, 0.16);
  background: rgba(255, 255, 255, 0.44);
}

.gateway-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.gateway-grid {
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
}

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

.gateway-card .brand {
  margin-bottom: 1.25rem;
}

.gateway-split {
  display: grid;
  gap: 1rem;
}

.language-links {
  display: grid;
  gap: 0.8rem;
}

.language-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--card-border);
}

.language-links a:hover {
  background: rgba(255, 255, 255, 0.88);
}

.legal-page {
  padding-bottom: 3rem;
}

.profile-page {
  padding-bottom: 3rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.profile-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.profile-main-column,
.profile-summary,
.profile-general,
.profile-support {
  display: grid;
  gap: 1rem;
}

.profile-identity-panel {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(17, 22, 29, 0.08);
  background:
    linear-gradient(135deg, rgba(15, 157, 143, 0.08), rgba(242, 93, 61, 0.08)),
    rgba(255, 255, 255, 0.62);
}

.profile-summary--compact {
  justify-items: start;
  gap: 1rem;
}

.profile-summary-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-avatar-shell {
  position: relative;
  flex-shrink: 0;
}

.profile-avatar {
  position: relative;
  width: 5rem;
  height: 5rem;
  border-radius: 24px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(15, 157, 143, 0.16), rgba(242, 93, 61, 0.18)),
    rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(17, 22, 29, 0.08);
  box-shadow: 0 16px 36px rgba(17, 22, 29, 0.08);
  font-size: 1.35rem;
}

.profile-identity-copy {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  flex: 1 1 auto;
  width: auto;
}

.profile-name-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.profile-name-row h2 {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.profile-identity-copy h2 {
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
  min-height: 1.95rem;
}

.profile-identity-copy p {
  margin: 0;
  overflow-wrap: anywhere;
  min-height: 1.1rem;
}

.profile-identity-panel.is-loading .profile-avatar {
  background: rgba(17, 22, 29, 0.04);
  border-color: rgba(17, 22, 29, 0.04);
  box-shadow: none;
}

.profile-identity-panel.is-loading .profile-avatar::after,
.profile-identity-panel.is-loading #profile-name::after,
.profile-identity-panel.is-loading #profile-email::after {
  content: "";
  display: block;
  border-radius: 999px;
  background:
    linear-gradient(110deg, rgba(17, 22, 29, 0.06) 8%, rgba(255, 255, 255, 0.72) 18%, rgba(17, 22, 29, 0.06) 33%),
    rgba(17, 22, 29, 0.05);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.35s linear infinite;
}

.profile-identity-panel.is-loading .profile-avatar::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.profile-identity-panel.is-loading .profile-avatar img,
.profile-identity-panel.is-loading .profile-avatar span {
  opacity: 0;
}

.profile-identity-panel.is-loading #profile-name,
.profile-identity-panel.is-loading #profile-email {
  color: transparent;
}

.profile-identity-panel.is-loading #profile-name::after {
  width: min(100%, 12rem);
  height: 1.15rem;
}

.profile-identity-panel.is-loading #profile-email::after {
  width: min(100%, 15rem);
  height: 0.9rem;
}

.profile-identity-panel.is-loading .profile-edit-icon {
  opacity: 0;
  pointer-events: none;
}

.profile-edit-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(17, 22, 29, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 24px rgba(17, 22, 29, 0.08);
  color: var(--text);
  cursor: pointer;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    background-color 140ms ease,
    border-color 140ms ease;
  flex-shrink: 0;
}

.profile-edit-icon:hover,
.profile-edit-icon:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(15, 157, 143, 0.35);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 30px rgba(17, 22, 29, 0.12);
}

.profile-edit-icon:focus-visible {
  outline: 2px solid rgba(15, 157, 143, 0.25);
  outline-offset: 2px;
}

.profile-edit-icon svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.profile-edit-icon--avatar {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
}

.profile-name-form,
.profile-avatar-edit {
  display: grid;
  gap: 0.7rem;
  width: 100%;
}

.profile-edit-dialog {
  width: min(460px, 100%);
}

.profile-edit-dialog .profile-name-form {
  gap: 0;
}

.profile-edit-dialog__body {
  display: grid;
  gap: 0.9rem;
}

.profile-edit-dialog__actions {
  display: grid;
  gap: 0.75rem;
}

.profile-edit-dialog__actions--stack > * {
  width: 100%;
}

.profile-name-form .button-ghost,
.profile-avatar-edit .button-ghost {
  width: 100%;
  min-height: 3rem;
}

.profile-avatar-edit {
  padding-top: 0.1rem;
}

.profile-meta {
  display: grid;
  gap: 0.9rem;
  margin: 0;
}

.profile-meta--general {
  padding: 1rem;
  border: 1px solid rgba(17, 22, 29, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.54);
}

.profile-meta-row {
  display: grid;
  gap: 0.28rem;
}

.profile-meta dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.profile-meta dd {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.profile-setting-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.2rem;
}

.profile-setting-block > div:first-child {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.profile-language-toggle {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.3rem;
  width: fit-content;
  border-radius: 999px;
  background: rgba(17, 22, 29, 0.05);
}

.profile-language-toggle button {
  min-width: 8rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 0.75rem 1rem;
  cursor: pointer;
}

.profile-language-toggle button.is-active {
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  box-shadow: 0 10px 22px rgba(17, 22, 29, 0.08);
}

.profile-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.profile-action-row > * {
  flex: 1 1 12rem;
  min-width: 0;
}

.profile-danger-action {
  color: var(--danger);
}

.account-delete-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow-y: auto;
  padding: 1rem;
  background: rgba(17, 22, 29, 0.48);
}

.account-delete-dialog {
  width: min(560px, 100%);
  margin: 8vh auto;
  border: 1px solid var(--card-border);
  border-radius: 24px;
  background: rgba(255, 252, 247, 0.97);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.account-delete-dialog__head,
.account-delete-dialog__actions {
  padding: 1rem;
}

.account-delete-dialog__head {
  border-bottom: 1px solid rgba(17, 22, 29, 0.08);
}

.account-delete-dialog__body {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.account-delete-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  border-top: 1px solid rgba(17, 22, 29, 0.08);
}

.account-delete-dialog__actions > * {
  flex: 1 1 12rem;
}

.account-delete-warning {
  display: grid;
  gap: 0.7rem;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(217, 75, 61, 0.1);
  border: 1px solid rgba(167, 55, 44, 0.16);
}

.account-delete-warning ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.account-delete-warning li + li {
  margin-top: 0.45rem;
}

.delete-account-page {
  padding-bottom: 3rem;
}

.delete-account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.2rem;
  align-items: start;
}

.delete-account-main-column,
.delete-account-summary,
.delete-account-warning-card,
.delete-account-confirm-card {
  display: grid;
  gap: 1rem;
}

.delete-account-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.delete-account-confirmation {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(249, 186, 79, 0.12);
  border: 1px solid rgba(203, 143, 44, 0.18);
}

.delete-account-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.delete-account-check input {
  margin-top: 0.2rem;
}

.delete-account-summary {
  align-content: start;
}

.delete-account-summary-block,
.delete-account-provider-panel {
  display: grid;
  gap: 0.45rem;
}

.delete-account-provider-panel {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(17, 22, 29, 0.08);
}

.delete-account-provider-panel[hidden] {
  display: none;
}

.delete-account-summary h2,
.delete-account-summary p {
  overflow-wrap: anywhere;
}

.delete-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.delete-account-actions > * {
  flex: 1 1 12rem;
}

body.modal-open {
  overflow: hidden;
}

.contact-page {
  padding-bottom: 3rem;
}

.contact-hero {
  max-width: 52rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 1.2rem;
  align-items: start;
}

.contact-info-card,
.contact-form-card {
  display: grid;
  gap: 1rem;
}

.contact-data-note {
  display: grid;
  gap: 0.45rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(17, 22, 29, 0.08);
}

.contact-form-card .button {
  width: fit-content;
  min-width: 12rem;
}

.legal-shell {
  padding: 2.3rem 0 1.2rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 1.2rem;
  align-items: start;
}

.legal-card {
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.legal-copy {
  display: grid;
  gap: 1.5rem;
}

.legal-copy section + section {
  margin-top: 0.65rem;
}

.legal-copy section {
  display: grid;
  gap: 0.65rem;
}

.legal-copy ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.legal-copy li + li {
  margin-top: 0.45rem;
}

.legal-callout {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(15, 157, 143, 0.11);
  border: 1px solid rgba(15, 157, 143, 0.18);
}

.legal-meta {
  position: sticky;
  top: 1rem;
  display: grid;
  gap: 1rem;
}

.legal-nav {
  display: grid;
  gap: 0.7rem;
}

.legal-nav a {
  color: var(--accent-strong);
  font-weight: 600;
}

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

.plans-shell {
  padding-bottom: 0.5rem;
}

.plans-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 1.25rem;
  align-items: end;
  padding: 3.1rem 0 2rem;
}

.plans-hero__copy {
  display: grid;
  justify-items: start;
  gap: 1rem;
}

.plans-hero__copy p {
  max-width: 55rem;
  margin: 0;
  font-size: 1.08rem;
}

.hero-points {
  display: grid;
  gap: 0.58rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.45;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
}

.plans-hero__panel {
  display: grid;
  align-self: stretch;
  align-items: end;
}

.plan-snapshot {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem;
  border: 1px solid rgba(15, 157, 143, 0.18);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(15, 157, 143, 0.14), rgba(242, 93, 61, 0.1)),
    rgba(255, 252, 247, 0.84);
  box-shadow: var(--shadow);
}

.plan-snapshot strong {
  max-width: 20rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
  line-height: 1.05;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid rgba(27, 30, 37, 0.08);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 251, 246, 0.98), rgba(255, 248, 241, 0.9));
  box-shadow: 0 22px 60px rgba(17, 22, 29, 0.08);
}

.plan-card--featured {
  border-color: rgba(15, 157, 143, 0.35);
  background:
    linear-gradient(180deg, rgba(242, 255, 251, 0.96), rgba(255, 249, 243, 0.94));
  box-shadow: 0 28px 74px rgba(15, 114, 103, 0.15);
}

.plan-ribbon {
  width: fit-content;
  padding: 0.52rem 0.78rem;
  border-radius: 999px;
  background: rgba(242, 93, 61, 0.12);
  color: #a23a24;
  font-size: 0.82rem;
  font-weight: 800;
}

.plan-card__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.plan-card h3 {
  margin-top: 0.18rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 0.95;
}

.plan-kicker {
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.plan-price {
  flex-shrink: 0;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 0.95;
  text-align: right;
}

.plan-price span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}

.plan-summary {
  min-height: 0;
}

.plan-highlights {
  display: grid;
  gap: 0.58rem;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.plan-highlights li {
  position: relative;
  padding-left: 1.2rem;
  line-height: 1.4;
}

.plan-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--accent);
}

.plan-card--featured .plan-highlights li::before {
  background: var(--secondary);
}

.plan-example {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(17, 22, 29, 0.06);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--muted);
}

.plan-example span {
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.plan-cta {
  width: 100%;
  min-height: 3.1rem;
}

.shared-features-shell {
  display: grid;
  gap: 2rem;
  margin: 4.5rem 0;
}

.shared-features__title {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-align: center;
}

.shared-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shared-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid rgba(17, 22, 29, 0.08);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 28px rgba(17, 22, 29, 0.06);
}

.shared-feature strong {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
}

.shared-feature strong::before {
  content: "";
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--accent);
}

.shared-feature p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
}

.plans-compare-shell {
  margin-top: 1.25rem;
  overflow-x: auto;
  border: 1px solid rgba(17, 22, 29, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 60px rgba(17, 22, 29, 0.08);
}

.plan-compare {
  width: 100%;
  min-width: 860px;
  border-collapse: separate;
  border-spacing: 0;
}

.plan-compare th,
.plan-compare td {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(17, 22, 29, 0.08);
  text-align: left;
  vertical-align: top;
}

.plan-compare thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: rgba(255, 252, 247, 0.96);
  backdrop-filter: blur(12px);
}

.plan-compare thead th:first-child {
  left: 0;
  z-index: 4;
  min-width: 220px;
}

.plan-compare tbody th {
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 220px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 251, 246, 0.98);
}

.plan-compare tbody tr:nth-child(even) td {
  background: rgba(17, 22, 29, 0.025);
}

.plan-compare tbody tr:nth-child(even) th {
  background: rgba(251, 249, 245, 0.98);
}

.plan-compare tbody tr:hover td {
  background: rgba(15, 157, 143, 0.08);
}

.plan-compare tbody tr:hover th {
  background: rgba(247, 252, 250, 0.98);
}

.plan-compare tbody tr:last-child > * {
  border-bottom: 0;
}

.plan-compare__feature {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  color: var(--muted);
}

.plan-compare__plan {
  min-width: 190px;
}

.plan-compare__plan strong {
  display: block;
  margin-top: 0.18rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  color: var(--text);
}

.plan-compare__plan--featured {
  background: rgba(236, 255, 249, 0.96) !important;
}

.plan-compare__kicker {
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-compare__price {
  margin-top: 0.45rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
}

.plan-compare__price span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
}

.plan-compare__row-label span {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.2rem;
}

.plan-compare__marker {
  color: var(--accent-strong);
  font-size: 0.7rem;
  line-height: 1;
}

.plan-compare__cell--featured {
  background: rgba(240, 255, 250, 0.72);
  font-weight: 600;
}

.plan-footnotes {
  display: grid;
  gap: 0.78rem;
  margin-top: 1rem;
}

.plan-footnote {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.plan-footnote__marker {
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(242, 93, 61, 0.12);
  color: #a23a24;
  font-size: 0.82rem;
  font-weight: 800;
}

.plans-note {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem;
  border: 1px solid rgba(27, 30, 37, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 247, 0.74);
  box-shadow: 0 20px 54px rgba(17, 22, 29, 0.08);
}

.plans-note div {
  display: grid;
  gap: 0.6rem;
}

.plans-note p {
  max-width: 46rem;
}

.manage-sections {
  display: grid;
  gap: 1.25rem;
}

.manage-hero-card {
  display: grid;
  gap: 1.25rem;
}

.manage-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) auto;
  gap: 1.25rem;
  align-items: center;
}

.manage-hero-copy {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
}

.manage-hero-copy h1 {
  margin: 0;
}

.manage-hero-link-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: min(100%, 46rem);
  min-width: 0;
}

.manage-hero-link-row .manage-public-link {
  flex: 1 1 auto;
}

.manage-public-link--hero {
  font-size: 0.98rem;
}

.manage-hero-qr-card {
  width: fit-content;
  justify-self: end;
  justify-items: center;
}

.manage-hero-qr-actions {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.manage-hero-qr-card .qr-frame {
  margin: 0;
}

.manage-public-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto;
  gap: 1rem;
  align-items: start;
}

.manage-section-block {
  display: grid;
  gap: 1rem;
}

.manage-settings-launch .action-row {
  margin-top: auto;
}

.manage-settings-launch .button {
  min-width: 12rem;
}

.manage-review-section .manage-section-actions {
  align-self: flex-start;
}

.manage-section-stack {
  display: grid;
  gap: 1rem;
}

.manage-subcard {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid rgba(27, 30, 37, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.manage-subcard--compact {
  gap: 0.8rem;
  padding: 1rem;
}

.manage-public-link-card,
.manage-public-qr-card {
  min-width: 0;
}

.manage-public-qr-card {
  justify-items: center;
}

.manage-public-link-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.85rem;
}

.manage-public-copy {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.manage-public-label {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.manage-public-link {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(17, 22, 29, 0.12);
  background: rgba(255, 255, 255, 0.78);
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.manage-public-link:hover,
.manage-public-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(15, 157, 143, 0.35);
  box-shadow: 0 14px 28px rgba(17, 22, 29, 0.08);
}

.manage-public-link[aria-disabled="true"] {
  pointer-events: none;
  color: var(--muted);
}

.manage-public-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.85rem;
}

.manage-public-meta-copy {
  min-width: 0;
  display: grid;
  gap: 0.2rem;
}

.manage-public-meta-copy h3,
.manage-public-meta-copy p {
  margin: 0;
}

.manage-icon-button {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(17, 22, 29, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 24px rgba(17, 22, 29, 0.08);
  color: var(--text);
  cursor: pointer;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    background-color 140ms ease,
    border-color 140ms ease;
  flex-shrink: 0;
}

.manage-icon-button:hover,
.manage-icon-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(15, 157, 143, 0.35);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 30px rgba(17, 22, 29, 0.12);
}

.manage-icon-button:focus-visible {
  outline: 2px solid rgba(15, 157, 143, 0.25);
  outline-offset: 2px;
}

.manage-icon-button[data-state="success"] {
  color: var(--success);
  border-color: rgba(19, 107, 71, 0.28);
  background: rgba(19, 107, 71, 0.08);
}

.manage-icon-button[data-busy="true"] {
  opacity: 0.72;
  cursor: progress;
}

.manage-icon-button svg {
  width: 1.05rem;
  height: 1.05rem;
  stroke: currentColor;
}

.manage-list-section {
  display: grid;
  gap: 1rem;
  margin-top: 0;
}

.manage-section-head {
  align-items: flex-start;
  gap: 1rem;
}

.manage-section-actions {
  display: flex;
  align-items: center;
}

.manage-section-actions .button-ghost {
  white-space: nowrap;
}

.panel-card.manage-fold-card {
  padding: 0;
  overflow: hidden;
}

.manage-fold-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  list-style: none;
  cursor: pointer;
  padding: 1.35rem;
}

.manage-fold-summary::-webkit-details-marker {
  display: none;
}

.manage-fold-summary__copy {
  display: grid;
  gap: 0.45rem;
}

.manage-fold-summary__copy > * {
  margin: 0;
}

.manage-fold-summary__icon {
  flex: 0 0 auto;
  width: 0.85rem;
  height: 0.85rem;
  border-right: 2px solid rgba(27, 30, 37, 0.68);
  border-bottom: 2px solid rgba(27, 30, 37, 0.68);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.manage-fold-card[open] .manage-fold-summary {
  border-bottom: 1px solid rgba(27, 30, 37, 0.08);
}

.manage-fold-card[open] .manage-fold-summary__icon {
  transform: rotate(225deg);
}

.manage-fold-card .manage-section-stack {
  padding: 0 1.35rem 1.35rem;
}

.settings-dialog {
  width: min(980px, 100%);
  max-height: calc(100vh - 2rem);
  margin: max(1rem, 3vh) auto;
  display: flex;
  flex-direction: column;
}

.settings-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.settings-dialog__head > div {
  display: grid;
  gap: 0.35rem;
}

.settings-dialog__head .manage-icon-button {
  flex: 0 0 auto;
}

.settings-dialog__body {
  flex: 1 1 auto;
  overflow: auto;
}

.review-queue-dialog {
  width: min(860px, 100%);
  max-height: calc(100vh - 2rem);
  margin: max(1rem, 4vh) auto;
  display: flex;
  flex-direction: column;
}

.review-queue-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.review-queue-dialog__head > div {
  display: grid;
  gap: 0.35rem;
}

.review-queue-dialog__body {
  flex: 1 1 auto;
  overflow: auto;
}

.review-queue-stage {
  display: grid;
}

.review-queue-focus {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 1rem;
  align-items: start;
}

.review-queue-focus__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(15, 157, 143, 0.16), rgba(242, 93, 61, 0.08));
}

.review-queue-focus-media {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.review-queue-focus__meta {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.button-ghost--danger {
  color: var(--danger);
  border-color: rgba(158, 47, 47, 0.2);
}

.button-ghost--danger:hover,
.button-ghost--danger:focus-visible {
  background: rgba(158, 47, 47, 0.08);
}

.admin-shell {
  min-height: 100vh;
}

.admin-content,
.admin-panel,
.admin-compact-list {
  display: grid;
  gap: 1rem;
}

.admin-denied {
  max-width: 42rem;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.admin-stat {
  display: grid;
  gap: 0.4rem;
}

.admin-stat span {
  color: var(--muted);
  font-weight: 700;
}

.admin-stat strong {
  color: var(--text);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1;
}

.admin-panel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
  gap: 1rem;
  align-items: start;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
}

.admin-toolbar input,
.admin-toolbar select {
  min-width: 0;
  border: 1px solid rgba(17, 22, 29, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  padding: 0.9rem 1rem;
}

.admin-toolbar button {
  min-height: 3rem;
}

.admin-reports-list {
  display: grid;
  gap: 0.75rem;
}

.admin-report-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: stretch;
  padding: 0.85rem;
  border: 1px solid rgba(17, 22, 29, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
}

.admin-report-select {
  display: grid;
  place-items: center;
  width: 2rem;
}

.admin-report-open {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(180px, 0.45fr);
  gap: 0.85rem;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 0;
  color: inherit;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.admin-report-main,
.admin-report-meta,
.admin-compact-row {
  display: grid;
  min-width: 0;
}

.admin-report-main {
  gap: 0.25rem;
}

.admin-report-main strong,
.admin-compact-row strong {
  overflow-wrap: anywhere;
}

.admin-report-main span,
.admin-report-meta,
.admin-compact-row span,
.admin-compact-row small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.admin-report-meta {
  gap: 0.18rem;
  justify-items: end;
  font-size: 0.84rem;
}

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

.admin-compact-row {
  gap: 0.25rem;
  padding: 0.85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(17, 22, 29, 0.08);
}

.admin-modal,
.issue-report-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 1rem;
  background: rgba(17, 22, 29, 0.48);
}

.admin-modal-dialog,
.issue-report-dialog {
  width: min(980px, 100%);
  margin: 4vh auto;
  border: 1px solid var(--card-border);
  border-radius: 24px;
  background: rgba(255, 252, 247, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.admin-modal-head,
.issue-report-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border-bottom: 1px solid rgba(17, 22, 29, 0.08);
}

.admin-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.admin-json-viewer {
  min-height: 24rem;
  max-height: 68vh;
  margin: 0;
  padding: 1rem;
  overflow: auto;
  color: #f8fafc;
  background: #11161d;
  font-size: 0.86rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.issue-report-link {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  color: var(--success);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.35;
  text-decoration: none;
  transition: color 140ms ease, opacity 140ms ease;
}

.issue-report-link:hover,
.issue-report-link:focus-visible {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.issue-report-dialog {
  width: min(620px, 100%);
}

.issue-report-form {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
}

.issue-report-form .form-row textarea {
  min-height: 5rem;
}

.issue-report-check {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  color: var(--muted);
}

.issue-report-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.issue-report-close {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgba(17, 22, 29, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--text);
  cursor: pointer;
}

.issue-report-close svg {
  width: 0.95rem;
  height: 0.95rem;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  fill: none;
}

@media (max-width: 980px) {
  .hero-grid {
    min-height: auto;
    padding-top: 1rem;
  }

  .hero-copy,
  .hero-panel,
  .layout-two,
  .flow-layout,
  .manage-grid,
  .gateway-grid,
  .contact-grid,
  .profile-grid {
    grid-column: span 12;
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .card-grid,
  .stat-row,
  .admin-stat-grid,
  .admin-activity-grid {
    grid-template-columns: 1fr;
  }

  .admin-panel-head,
  .admin-toolbar,
  .admin-report-open {
    grid-template-columns: 1fr;
  }

  .admin-report-meta {
    justify-items: start;
  }

  .flow-layout {
    grid-template-areas: "main";
  }

  .flow-visual {
    display: none;
  }

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

  .legal-meta,
  .manage-sidebar {
    position: static;
  }

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

  .plans-hero__panel {
    align-items: stretch;
  }

  .plan-summary {
    min-height: 0;
  }

  .manage-hero-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .manage-hero-qr-card {
    justify-self: start;
  }

  .manage-public-panel {
    grid-template-columns: 1fr;
  }

  .manage-public-qr-card {
    justify-items: start;
  }


}

@media (max-width: 640px) {
  :root {
    --content-width: min(100vw - 1rem, 100%);
  }

  .dashboard-page {
    --dashboard-header-offset: calc(4.85rem + env(safe-area-inset-top));
  }

  .landing-page {
    --landing-header-offset: calc(4.85rem + env(safe-area-inset-top));
  }

  .site-header {
    padding-top: 0.7rem;
  }

  .header-panel {
    align-items: center;
    flex-direction: row;
    gap: 0.45rem;
    padding: 0.7rem;
    border-radius: 999px;
  }

  .brand {
    gap: 0;
  }

  .brand [data-header-brand] {
    display: none;
  }

  .brand::before {
    width: 2.35rem;
    height: 2.35rem;
  }

  .shared-header__nav {
    flex: 1;
    min-width: 0;
  }

  .shared-header__group {
    flex: 1;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0.35rem;
    min-width: 0;
  }

  .header-links a,
  .header-links button {
    padding: 0.55rem 0.65rem;
    font-size: 0.88rem;
    line-height: 1;
    white-space: nowrap;
  }

  [data-header-how],
  [data-header-plans],
  [data-header-home-link] {
    display: none;
  }

  .header-links a.shared-header__avatar {
    width: 2.55rem;
    height: 2.55rem;
  }

  .hero-grid {
    padding-top: 0.6rem;
  }

  h1 {
    font-size: 2.7rem;
  }

  .glass-card,
  .panel-card,
  .gateway-card,
  .page-hero-card {
    padding: 1.15rem;
  }

  .manage-hero-link-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .manage-hero-link-row .manage-icon-button {
    align-self: flex-end;
  }

  .profile-hero,
  .profile-setting-block {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-language-toggle {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-language-toggle button {
    min-width: 0;
  }

  .contact-form-card .button {
    width: 100%;
  }

  .manage-public-link-head,
  .manage-public-meta {
    align-items: flex-start;
  }

  .manage-section-actions {
    width: 100%;
  }

  .manage-section-actions .button-ghost {
    width: 100%;
  }

  .preview-strip,
  .card-grid--compact {
    grid-template-columns: 1fr;
  }

  .queue-grid,
  .gallery-grid,
  .billing-usage-grid {
    grid-template-columns: 1fr;
  }

  .split-line,
  .billing-plan-row,
  .plan-card__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .plan-price {
    text-align: left;
  }

  .pill-switch {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .create-show-skeleton__pill-row {
    grid-template-columns: 1fr;
  }

  .pill-switch button {
    width: 100%;
  }

  .manage-fold-summary {
    align-items: flex-start;
  }

  .settings-dialog__head {
    flex-direction: column;
    align-items: stretch;
  }

  .settings-dialog__head .manage-icon-button {
    align-self: flex-end;
  }

  .review-queue-focus {
    grid-template-columns: 1fr;
  }

  .action-row,
  .show-card-actions,
  .cta-row,
  .plans-note {
    flex-direction: column;
    align-items: stretch;
  }

  .action-row > * ,
  .show-card-actions > * ,
  .cta-row > *,
  .plans-note > * {
    width: 100%;
  }

  .plans-hero {
    padding-top: 2rem;
  }

  .plans-page .container {
    width: min(100vw - 2rem, 100%);
  }

  .plans-page h1 {
    font-size: 2.45rem;
  }

  .plans-hero__copy .cta-row {
    width: 100%;
  }

  .plan-card__top {
    align-items: flex-start;
  }

  .plan-compare {
    min-width: 690px;
  }

  .plan-compare th,
  .plan-compare td {
    padding: 0.85rem 0.9rem;
  }

  .plan-compare thead th:first-child,
  .plan-compare tbody th {
    min-width: 150px;
  }

  .plan-compare__plan {
    min-width: 150px;
  }

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

  .show-card--dashboard .show-card-actions {
    grid-template-columns: 1fr;
  }

  .show-card-mode--inline {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-modal,
  .issue-report-modal,
  .account-delete-modal {
    padding: 0.5rem;
  }

  .admin-modal-dialog,
  .issue-report-dialog,
  .account-delete-dialog {
    margin: 1vh auto;
    border-radius: 18px;
  }

  .admin-modal-head,
  .issue-report-head,
  .issue-report-actions,
  .account-delete-dialog__actions,
  .delete-account-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-modal-actions,
  .admin-modal-actions .button-ghost,
  .issue-report-actions .button,
  .issue-report-actions .button-ghost,
  .account-delete-dialog__actions > *,
  .delete-account-actions > * {
    width: 100%;
  }

  .delete-account-grid,
  .profile-grid,
  .contact-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }


  .section--flow,
  .section--benefits {
    padding-top: 2rem;
  }



  .flow-visual__grid {
    grid-auto-rows: 4rem;
    gap: 0.55rem;
  }

  .flow-visual__badge--qr {
    width: 4.7rem;
  }

  .flow-visual__badge--stack {
    width: 6.4rem;
  }

  .feature-card--step {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card--step .badge {
    width: 3rem;
    height: 3rem;
  }

  .feature-card--step,
  .feature-card--benefit {
    padding: 1.4rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  .hero-copy {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .skeleton-block {
    animation: none;
  }
}
