:root {
  --bg: #0f1220;
  --bg-deep: #0a0c16;
  --panel: rgba(17, 22, 38, 0.74);
  --panel-strong: rgba(14, 19, 32, 0.9);
  --panel-soft: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f6f4ef;
  --muted: #c8d1e5;
  --gold: #efc27d;
  --gold-soft: #ffe6b7;
  --sky: #9fd4ff;
  --mint: #bee7d2;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
  --preview-ratio: 4 / 5;
}

* {
  box-sizing: border-box;
}

.is-hidden {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Aptos", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 195, 109, 0.15), transparent 22%),
    radial-gradient(circle at 85% 10%, rgba(116, 178, 255, 0.18), transparent 18%),
    radial-gradient(circle at 82% 82%, rgba(120, 218, 180, 0.12), transparent 22%),
    linear-gradient(180deg, #13182b 0%, #10131f 46%, #0a0c16 100%);
  overflow-x: hidden;
}

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

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

button {
  border: 0;
}

.ambient {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.34;
  pointer-events: none;
  z-index: 0;
}

.ambient-left {
  top: -8rem;
  left: -7rem;
  background: rgba(255, 191, 110, 0.5);
}

.ambient-right {
  right: -8rem;
  bottom: -8rem;
  background: rgba(112, 171, 255, 0.36);
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - 1.2rem));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.topbar,
.hero-card,
.control-panel,
.creator-section,
.preview-card,
.side-panel,
.safety-card,
.disclosure-card,
.permission-modal {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.topbar,
.hero-card,
.control-panel,
.creator-section,
.workspace,
.safety-section {
  margin-top: 1rem;
}

.topbar,
.hero-card,
.control-panel,
.creator-section,
.preview-card,
.side-panel,
.safety-card,
.disclosure-card,
.permission-modal {
  background: var(--panel);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 18px;
  color: #2b2113;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, #ffe1aa 0%, #efbc71 100%);
  box-shadow: 0 14px 36px rgba(239, 194, 125, 0.28);
  overflow: hidden;
  padding: 0.2rem;
}

.site-logo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.topbar-links a,
.format-pill,
.theme-pill,
.share-chip,
.trust-strip span,
.format-meta span,
.modal-points span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
}

.topbar-links a {
  padding: 0.78rem 0.95rem;
  border-radius: 999px;
  color: var(--muted);
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.topbar-links a:hover,
.format-pill:hover,
.theme-pill:hover,
.share-chip:hover,
.button:hover {
  transform: translateY(-2px);
}

.eyebrow {
  margin: 0 0 0.4rem;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  font-family: "Constantia", "Palatino Linotype", serif;
}

h1 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.hero-card h2 {
  font-size: clamp(2.3rem, 4.2vw, 4.6rem);
}

.panel-heading h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.5rem);
}

.preview-header h2,
.permission-modal h2 {
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
}

.hero-card {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  gap: 1.2rem;
  padding: 1.4rem;
  border-radius: 34px;
}

.hero-copy,
.hero-status,
.control-panel,
.creator-section,
.preview-card,
.side-panel,
.safety-card,
.disclosure-card {
  position: relative;
  overflow: hidden;
}

.hero-copy {
  padding: 0.6rem;
}

.hero-text,
.block-labels p,
.status-note,
.message-reference,
.info-label,
.mini-note p,
.safety-card li,
.disclosure-card p,
.modal-text {
  color: var(--muted);
}

.hero-text {
  max-width: 60ch;
  margin: 1rem 0 0;
  font-size: 1.04rem;
  line-height: 1.72;
}

.hero-actions,
.action-group,
.share-grid,
.theme-pills,
.format-pills,
.modal-actions,
.modal-points,
.info-grid,
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-actions {
  margin-top: 1.5rem;
}

.button,
.format-pill,
.theme-pill,
.share-chip {
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3.2rem;
  padding: 0.95rem 1.2rem;
  border-radius: 18px;
  font-weight: 700;
}

.button-primary {
  color: #271a0f;
  background: linear-gradient(135deg, #ffe0a8 0%, #efbc71 100%);
  box-shadow: 0 18px 40px rgba(239, 194, 125, 0.18);
}

.button-secondary,
.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-status {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    rgba(9, 13, 24, 0.36);
}

.status-panel {
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-label,
.message-theme,
.info-value {
  font-weight: 700;
}

.status-label {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-soft);
}

.status-time {
  margin: 0.5rem 0 0.3rem;
  font-size: clamp(2.5rem, 7vw, 4.4rem);
  line-height: 1;
  color: #fff7e7;
  font-weight: 800;
}

.status-note {
  margin: 0;
}

.trust-strip span,
.format-meta span,
.modal-points span {
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  color: var(--text);
}

.control-panel {
  padding: 1.3rem;
  border-radius: 30px;
}

.panel-heading {
  margin-bottom: 1.2rem;
}

.control-block + .control-block {
  margin-top: 1.1rem;
}

.block-labels {
  margin-bottom: 0.75rem;
}

.block-labels p {
  margin: 0.4rem 0 0;
}

.format-pill,
.theme-pill,
.share-chip {
  padding: 0.9rem 1rem;
  border-radius: 18px;
  color: var(--text);
  text-align: left;
}

.format-pill {
  min-width: 180px;
}

.format-pill strong,
.theme-pill strong {
  display: block;
  font-size: 1rem;
}

.format-pill strong {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.format-pill span,
.theme-pill span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.format-pill.is-active,
.theme-pill.is-active {
  border-color: rgba(255, 236, 196, 0.35);
  background: linear-gradient(135deg, rgba(255, 224, 168, 0.22), rgba(146, 203, 255, 0.18));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.workspace {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1rem;
}

.preview-card,
.side-panel {
  border-radius: 32px;
  padding: 1.15rem;
}

.preview-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.format-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.canvas-frame {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    rgba(3, 6, 14, 0.46);
  aspect-ratio: var(--preview-ratio);
}

#shareCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.canvas-loading {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  text-align: center;
  background: rgba(8, 11, 19, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.canvas-loading.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.side-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.message-card,
.info-card,
.mini-note,
.usage-card,
.editor-card,
.library-card,
.stat-card {
  padding: 1.2rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.message-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.message-theme {
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
}

.message-platform {
  color: var(--sky);
  font-size: 0.9rem;
}

.message-text {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
}

.message-reference {
  margin: 0.85rem 0 0;
  line-height: 1.65;
}

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

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

.usage-value {
  display: block;
  margin-top: 0.45rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff7e8;
}

.usage-note {
  margin: 0.5rem 0 0;
  line-height: 1.6;
  color: var(--muted);
}

.info-card {
  min-height: 8.6rem;
}

.info-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.info-value {
  display: block;
  margin-top: 0.5rem;
  color: #fff8ec;
  line-height: 1.5;
}

.action-group .button,
.share-chip {
  width: 100%;
}

.mini-note p {
  margin: 0;
  line-height: 1.7;
}

.safety-section {
  margin-top: 1.1rem;
}

.creator-section {
  padding: 1.3rem;
  border-radius: 30px;
}

.creator-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field span {
  color: var(--gold-soft);
  font-size: 0.85rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.92rem 1rem;
  color: var(--text);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 7, 14, 0.46);
  outline: none;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field-full {
  grid-column: 1 / -1;
}

.editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.library-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.stat-card strong {
  display: block;
  margin-top: 0.5rem;
  font-size: 1.45rem;
  color: #fff8ec;
}

.message-library {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
}

.pricing-card {
  padding: 1.3rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-card-highlight {
  border-color: rgba(255, 236, 196, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 224, 168, 0.12), transparent),
    rgba(255, 255, 255, 0.05);
}

.plan-state-panel {
  margin-top: 1.2rem;
}

.plan-state-time {
  font-size: clamp(1.5rem, 3.6vw, 2.5rem);
  line-height: 1.15;
}

.checkout-note {
  margin: 1rem 0 0;
  line-height: 1.7;
}

.plan-success-card {
  margin-top: 1rem;
  padding: 1.2rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 236, 196, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 224, 168, 0.12), transparent),
    rgba(255, 255, 255, 0.06);
}

.plan-success-card h3 {
  margin-top: 0.35rem;
}

.plan-success-card .status-note {
  margin: 0.75rem 0 0;
}

.price-amount {
  margin: 1rem 0 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff8eb;
}

.email-target {
  font-size: clamp(1rem, 2vw, 1.6rem);
  line-height: 1.4;
  word-break: break-word;
}

.price-amount span {
  font-size: 0.42em;
  color: var(--muted);
}

.feature-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.feature-list li + li {
  margin-top: 0.75rem;
}

.payment-embed {
  width: 100%;
}

.payment-embed form,
.payment-embed iframe,
.payment-embed script {
  max-width: 100%;
}

.message-item {
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.message-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.message-item-theme {
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
}

.message-item-text {
  margin: 0.75rem 0 0;
  line-height: 1.6;
}

.message-item-reference {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.inline-button {
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.library-empty {
  margin: 0;
  padding: 1.1rem;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  color: var(--muted);
  text-align: center;
}

.safety-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.safety-card,
.disclosure-card {
  border-radius: 28px;
  padding: 1.3rem;
}

.safety-card ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.safety-card li + li {
  margin-top: 0.75rem;
}

.disclosure-card {
  margin-top: 1rem;
}

.disclosure-card p {
  margin: 0.8rem 0 0;
  line-height: 1.75;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translate(-50%, 140%);
  min-width: min(90vw, 420px);
  padding: 0.92rem 1.1rem;
  border-radius: 999px;
  text-align: center;
  background: rgba(8, 11, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease;
  z-index: 50;
}

.toast.is-visible {
  transform: translate(-50%, 0);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(4, 7, 14, 0.62);
  z-index: 60;
}

.modal-backdrop[hidden] {
  display: none;
}

.permission-modal {
  width: min(100%, 560px);
  padding: 1.4rem;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    var(--panel-strong);
}

.modal-text {
  margin: 0.8rem 0 0;
  line-height: 1.7;
}

.modal-points {
  margin-top: 1rem;
}

.modal-actions {
  margin-top: 1.2rem;
}

@media (max-width: 1080px) {
  .hero-card,
  .workspace,
  .creator-grid,
  .pricing-grid,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .preview-header {
    flex-direction: column;
  }

  .format-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .app-shell {
    width: min(100% - 0.8rem, 100%);
    padding: 0.4rem 0 2rem;
  }

  .topbar,
  .hero-card,
  .control-panel,
  .preview-card,
  .side-panel,
  .safety-card,
  .disclosure-card,
  .permission-modal {
    border-radius: 24px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand {
    align-items: flex-start;
  }

  .topbar-links,
  .hero-actions,
  .info-grid,
  .modal-actions,
  .field-grid,
  .library-stats,
  .usage-card {
    width: 100%;
  }

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

  .field-grid,
  .library-stats {
    grid-template-columns: 1fr;
  }

  .usage-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .button,
  .format-pill,
  .theme-pill,
  .topbar-links a {
    width: 100%;
  }

  .format-pill,
  .theme-pill {
    min-width: 0;
  }

  .editor-actions .button,
  .usage-card .button {
    width: 100%;
  }
}

.landing-body {
  --landing-bg: #d8eaf8;
  --landing-bg-deep: #c5dff1;
  --landing-line: rgba(56, 87, 112, 0.14);
  --landing-panel: rgba(255, 255, 255, 0.54);
  --landing-panel-strong: rgba(255, 255, 255, 0.76);
  --landing-text: #18324a;
  --landing-muted: #55718a;
  --landing-accent: #9fc5df;
  --landing-accent-strong: #6e9dbd;
  color: var(--landing-text);
  background:
    radial-gradient(circle at 50% 14%, rgba(255, 255, 255, 0.88), transparent 16rem),
    linear-gradient(180deg, #deedf8 0%, #d0e5f4 48%, #c7deef 100%);
}

.landing-body .eyebrow,
.landing-body .info-label,
.landing-body .message-reference,
.landing-body .block-labels p,
.landing-body .usage-note,
.landing-body .modal-text {
  color: var(--landing-muted);
}

.landing-body .button-primary {
  color: #123149;
  background: linear-gradient(180deg, #f7fbff 0%, #dbeaf4 100%);
  box-shadow: 0 14px 30px rgba(80, 120, 153, 0.16);
}

.landing-body .button-secondary,
.landing-body .button-ghost,
.landing-body .share-chip,
.landing-body .format-pill,
.landing-body .theme-pill,
.landing-body .format-meta span,
.landing-body .modal-points span {
  color: var(--landing-text);
  border: 1px solid rgba(74, 108, 136, 0.14);
  background: rgba(255, 255, 255, 0.6);
}

.landing-body .message-theme,
.landing-body .status-label,
.landing-body .field span {
  color: #5a87a8;
}

.landing-body .info-value,
.landing-body .usage-value,
.landing-body .stat-card strong,
.landing-body .message-text,
.landing-body .landing-message-title {
  color: var(--landing-text);
}

.landing-body .message-platform {
  color: #6b8ca6;
}

.landing-body .field input,
.landing-body .field select,
.landing-body .field textarea {
  color: var(--landing-text);
  border: 1px solid rgba(74, 108, 136, 0.16);
  background: rgba(255, 255, 255, 0.8);
}

.landing-body .toast,
.landing-body .permission-modal {
  color: #eff6fb;
}

.landing-body .site-footer-shell {
  border-color: rgba(74, 108, 136, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(242, 248, 252, 0.74)),
    rgba(255, 255, 255, 0.66);
}

.landing-body .site-footer-title,
.landing-body .site-footer a {
  color: var(--landing-text);
}

.landing-body .site-footer-text,
.landing-body .site-footer-note {
  color: var(--landing-muted);
}

.landing-body .site-footer-links a {
  border-color: rgba(74, 108, 136, 0.14);
  background: rgba(255, 255, 255, 0.6);
}

.landing-body .cookie-banner {
  border-color: rgba(74, 108, 136, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(241, 247, 251, 0.9)),
    rgba(255, 255, 255, 0.84);
}

.landing-body .cookie-banner-title {
  color: var(--landing-text);
}

.landing-body .cookie-banner-text {
  color: var(--landing-muted);
}

.landing-glow,
.landing-haze {
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

.landing-glow {
  top: 4.5rem;
  left: 50%;
  width: min(42vw, 28rem);
  height: min(42vw, 28rem);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.28) 46%, transparent 72%);
  transform: translateX(-50%);
  filter: blur(10px);
  opacity: 0.95;
}

.landing-haze {
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.34;
}

.landing-haze-left {
  top: -7rem;
  left: -8rem;
  background: rgba(163, 205, 229, 0.85);
}

.landing-haze-right {
  right: -8rem;
  bottom: -7rem;
  background: rgba(240, 248, 255, 0.82);
}

.landing-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1.2rem 0 3rem;
}

.landing-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.landing-brand-mark,
.landing-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  color: #244663;
  font-weight: 800;
  letter-spacing: 0.18em;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(71, 105, 132, 0.12);
  box-shadow: 0 10px 24px rgba(118, 151, 177, 0.16);
  overflow: hidden;
  padding: 0.16rem;
}

.landing-seal {
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 1rem;
}

.landing-brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--landing-text);
}

.landing-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.landing-nav a {
  padding: 0.78rem 1rem;
  border-radius: 999px;
  color: var(--landing-text);
  border: 1px solid rgba(71, 105, 132, 0.12);
  background: rgba(255, 255, 255, 0.5);
}

.landing-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 1.6rem;
  align-items: center;
  min-height: calc(100vh - 8rem);
  padding: 1.2rem 0 0.4rem;
}

.landing-copy {
  max-width: 29rem;
  margin: 0 auto;
  text-align: center;
}

.landing-kicker {
  margin: 0;
  color: #6f8ba1;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.77rem;
}

.landing-copy h1 {
  margin-top: 0.9rem;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  line-height: 0.96;
  color: #17324b;
}

.landing-summary {
  margin: 1rem auto 0;
  max-width: 34ch;
  color: var(--landing-muted);
  font-size: 1.03rem;
  line-height: 1.8;
}

.landing-primary-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.landing-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.landing-meta-card {
  padding: 0.95rem 0.8rem;
  border-radius: 24px;
  border: 1px solid var(--landing-line);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 14px 28px rgba(126, 156, 179, 0.12);
}

.landing-meta-card span {
  display: block;
  color: var(--landing-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.landing-meta-card strong {
  display: block;
  margin-top: 0.55rem;
  color: var(--landing-text);
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  line-height: 1.35;
}

.landing-footnote {
  margin: 0.9rem auto 0;
  max-width: 34ch;
  color: #648098;
  line-height: 1.65;
  font-size: 0.94rem;
}

.landing-preview-card,
.landing-info-panel,
.landing-message-card,
.landing-creator,
.landing-advanced summary,
.share-sheet {
  border: 1px solid var(--landing-line);
  box-shadow: 0 22px 48px rgba(104, 134, 156, 0.14);
  backdrop-filter: blur(18px);
}

.landing-preview-card,
.landing-info-panel,
.landing-message-card,
.landing-creator,
.share-sheet {
  background: var(--landing-panel);
}

.landing-preview-card {
  padding: 1.2rem;
  border-radius: 34px;
}

.landing-preview-header {
  margin-bottom: 0.85rem;
}

.landing-canvas-frame {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(226, 237, 245, 0.6)),
    rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(74, 108, 136, 0.12);
}

.landing-preview-actions {
  display: flex;
  justify-content: center;
  margin-top: 0.9rem;
}

.landing-share-button {
  min-width: min(100%, 260px);
}

.landing-toolbar,
.landing-output {
  width: min(980px, 100%);
  margin: 0 auto;
}

.landing-toolbar {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
}

.landing-toolbar-block {
  padding: 1rem 1.1rem;
  border-radius: 30px;
  border: 1px solid var(--landing-line);
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 18px 34px rgba(104, 134, 156, 0.1);
}

.landing-toolbar-label {
  margin: 0 0 0.8rem;
  color: #5e7d97;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
}

.landing-body .format-pill,
.landing-body .theme-pill {
  min-width: 160px;
}

.landing-output {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr);
  gap: 1rem;
  margin-top: 1rem;
}

.landing-message-card,
.landing-info-panel {
  border-radius: 32px;
  padding: 1.2rem;
}

.landing-message-title {
  margin-top: 0.1rem;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.22;
}

.landing-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.landing-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.landing-body .info-card,
.landing-body .message-card,
.landing-body .editor-card,
.landing-body .library-card,
.landing-body .stat-card {
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(74, 108, 136, 0.12);
}

.landing-advanced {
  width: min(980px, 100%);
  margin: 1.1rem auto 0;
}

.landing-admin-entry {
  width: min(980px, 100%);
  margin: 1rem auto 0;
  text-align: center;
}

.landing-admin-link {
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  color: var(--landing-muted);
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(74, 108, 136, 0.12);
  cursor: pointer;
}

.landing-advanced summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  border-radius: 24px;
  color: var(--landing-text);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.56);
}

.landing-advanced summary::-webkit-details-marker {
  display: none;
}

.landing-advanced-content {
  padding-top: 1rem;
}

.landing-admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.landing-creator {
  padding: 1.2rem;
  border-radius: 32px;
}

.share-sheet {
  width: min(100%, 620px);
  max-height: min(82vh, 720px);
  overflow-y: auto;
  padding: 1rem;
  border-radius: 28px;
  color: var(--landing-text);
}

.share-sheet-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.share-sheet-close {
  min-height: 2.6rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  color: var(--landing-text);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(74, 108, 136, 0.14);
  cursor: pointer;
}

.share-sheet-description {
  margin: 0.45rem 0 0;
  color: var(--landing-muted);
  line-height: 1.55;
  font-size: 0.94rem;
}

.share-sheet-block {
  margin-top: 0.8rem;
  padding: 0.85rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(74, 108, 136, 0.12);
}

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

.share-sheet-grid .button,
.share-sheet-grid .share-chip,
.share-sheet .format-pill {
  width: 100%;
}

.admin-login-sheet {
  width: min(100%, 520px);
}

.admin-login-fields {
  display: grid;
  gap: 0.85rem;
}

.admin-login-error {
  margin: 0;
  color: #9e2633;
  font-weight: 700;
}

.share-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
}

.share-chip-badge,
.format-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 1.9rem;
  height: 1.9rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.62);
}

.share-chip-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.share-chip-copy strong {
  font-size: 0.97rem;
  line-height: 1.2;
}

.share-chip-copy small {
  color: var(--landing-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.share-chip-primary {
  border-color: rgba(109, 149, 178, 0.16);
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.92), rgba(221, 234, 244, 0.92));
  box-shadow: 0 14px 28px rgba(103, 138, 165, 0.14);
}

.share-chip-primary .share-chip-badge {
  background: rgba(255, 255, 255, 0.84);
}

.share-sheet .format-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.share-sheet .format-pill {
  min-width: 0;
  padding: 0.8rem 0.85rem;
  border-radius: 16px;
}

.share-sheet .format-pill strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.share-sheet .format-pill-icon {
  min-width: 2rem;
}

.share-sheet .format-pill-label {
  display: block;
  color: var(--landing-text);
  font-size: 0.95rem;
  line-height: 1.2;
}

.share-sheet .format-pill-detail {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.76rem;
  line-height: 1.3;
  color: var(--landing-muted);
}

.share-sheet .landing-toolbar-label {
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
}

.share-sheet .share-chip {
  width: 100%;
  min-height: 4.15rem;
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
}

@media (max-width: 1024px) {
  .landing-stage,
  .landing-output {
    grid-template-columns: 1fr;
  }

  .landing-stage {
    min-height: auto;
    padding-top: 2rem;
  }

  .landing-copy {
    max-width: 38rem;
  }
}

@media (max-width: 760px) {
  .landing-shell {
    width: min(100% - 0.9rem, 100%);
    padding-top: 0.7rem;
  }

  .landing-topbar {
    flex-direction: column;
    align-items: center;
  }

  .landing-nav,
  .landing-primary-actions,
  .landing-meta,
  .landing-info-grid {
    width: 100%;
  }

  .landing-nav a,
  .landing-primary-actions .button {
    width: 100%;
  }

  .landing-meta,
  .landing-info-grid {
    grid-template-columns: 1fr;
  }

  .landing-copy h1 {
    font-size: clamp(2.3rem, 12vw, 3.3rem);
  }

  .landing-preview-card,
  .landing-message-card,
  .landing-info-panel,
  .landing-toolbar-block,
  .landing-creator,
  .share-sheet {
    border-radius: 26px;
  }

  .landing-body .format-pill,
  .landing-body .theme-pill {
    width: 100%;
    min-width: 0;
  }

  .share-sheet-header {
    flex-direction: column;
  }

  .landing-admin-header {
    flex-direction: column;
  }

  .share-sheet {
    max-height: min(84vh, 760px);
  }

  .share-sheet .format-pills,
  .share-sheet-grid {
    grid-template-columns: 1fr;
  }
}

.landing-body {
  --landing-bg: #e8f0f7;
  --landing-bg-deep: #d7e4ef;
  --landing-line: rgba(49, 80, 106, 0.14);
  --landing-panel: rgba(255, 255, 255, 0.62);
  --landing-panel-strong: rgba(255, 255, 255, 0.82);
  --landing-text: #17324a;
  --landing-muted: #58748d;
  --landing-accent: #8ab3cf;
  --landing-accent-strong: #5f8fb0;
  color: var(--landing-text);
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.96), transparent 18rem),
    radial-gradient(circle at 18% 16%, rgba(255, 229, 196, 0.5), transparent 24rem),
    radial-gradient(circle at 84% 18%, rgba(170, 205, 230, 0.5), transparent 24rem),
    linear-gradient(180deg, #eef5fb 0%, #dde9f3 48%, #d4e1ec 100%);
}

.landing-body .eyebrow,
.landing-body .info-label,
.landing-body .message-reference,
.landing-body .block-labels p,
.landing-body .usage-note,
.landing-body .modal-text {
  color: var(--landing-muted);
}

.landing-body .button-primary {
  color: #17324a;
  background: linear-gradient(135deg, #fdf6dd 0%, #eac67d 100%);
  box-shadow: 0 18px 34px rgba(226, 189, 112, 0.24);
}

.landing-body .button-secondary,
.landing-body .button-ghost,
.landing-body .share-chip,
.landing-body .format-pill,
.landing-body .theme-pill,
.landing-body .format-meta span,
.landing-body .modal-points span {
  color: var(--landing-text);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(49, 80, 106, 0.12);
}

.landing-body .message-theme,
.landing-body .status-label,
.landing-body .field span {
  color: #6d8497;
}

.landing-body .info-value,
.landing-body .usage-value,
.landing-body .stat-card strong,
.landing-body .message-text,
.landing-body .landing-message-title {
  color: var(--landing-text);
}

.landing-body .message-platform {
  color: var(--landing-accent-strong);
}

.landing-body .field input,
.landing-body .field select,
.landing-body .field textarea {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(49, 80, 106, 0.12);
  color: var(--landing-text);
}

.landing-body .toast,
.landing-body .permission-modal {
  color: var(--landing-text);
}

.landing-glow,
.landing-haze {
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

.landing-glow {
  top: 4.5rem;
  left: 50%;
  width: min(42vw, 29rem);
  height: min(42vw, 29rem);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.38) 46%, transparent 72%);
  transform: translateX(-50%);
  filter: blur(10px);
  opacity: 0.95;
}

.landing-haze {
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  filter: blur(74px);
  opacity: 0.34;
}

.landing-haze-left {
  top: -7rem;
  left: -8rem;
  background: rgba(181, 206, 227, 0.84);
}

.landing-haze-right {
  right: -8rem;
  bottom: -7rem;
  background: rgba(251, 245, 233, 0.88);
}

.landing-shell {
  position: relative;
  z-index: 1;
  width: min(1140px, calc(100% - 1.4rem));
  margin: 0 auto;
  padding: 1.1rem 0 3rem;
}

.landing-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.landing-brand-mark,
.landing-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 999px;
  color: #264966;
  font-weight: 800;
  letter-spacing: 0.16em;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(73, 106, 133, 0.12);
  box-shadow: 0 14px 28px rgba(110, 144, 169, 0.14);
  overflow: hidden;
  padding: 0.16rem;
}

.landing-seal {
  width: 3.6rem;
  height: 3.6rem;
  margin-bottom: 1rem;
}

.landing-brand-name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--landing-text);
}

.landing-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.landing-nav a {
  padding: 0.82rem 1.05rem;
  border-radius: 999px;
  color: var(--landing-text);
  border: 1px solid rgba(73, 106, 133, 0.12);
  background: rgba(255, 255, 255, 0.58);
}

.landing-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 1.35rem;
  align-items: center;
  min-height: calc(100vh - 8rem);
  padding: 1.2rem 0 0.5rem;
}

.landing-copy {
  max-width: 34rem;
  text-align: left;
}

.landing-kicker {
  margin: 0;
  color: #708ba0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}

.landing-copy h1 {
  margin-top: 0.9rem;
  font-size: clamp(2.8rem, 5.2vw, 4.9rem);
  line-height: 0.96;
  color: #17324a;
}

.landing-summary {
  margin: 1rem 0 0;
  max-width: 34ch;
  color: var(--landing-muted);
  font-size: 1.04rem;
  line-height: 1.78;
}

.landing-primary-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.landing-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.landing-trust-strip span {
  padding: 0.72rem 0.92rem;
  border-radius: 999px;
  border: 1px solid var(--landing-line);
  background: rgba(255, 255, 255, 0.54);
  color: var(--landing-text);
}

.landing-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.3rem;
}

.landing-meta-card {
  padding: 0.95rem 0.9rem;
  border-radius: 24px;
  border: 1px solid var(--landing-line);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 14px 30px rgba(110, 142, 164, 0.12);
}

.landing-meta-card span {
  display: block;
  color: var(--landing-muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.landing-meta-card strong {
  display: block;
  margin-top: 0.55rem;
  color: var(--landing-text);
  font-size: clamp(0.95rem, 1.5vw, 1.18rem);
  line-height: 1.35;
}

.landing-footnote {
  margin: 0.9rem 0 0;
  max-width: 38ch;
  color: #628099;
  line-height: 1.65;
  font-size: 0.94rem;
}

.landing-showcase {
  display: grid;
  gap: 1rem;
}

.landing-preview-card,
.landing-message-card,
.landing-info-panel,
.landing-actions-card,
.landing-toolbar-block,
.share-sheet {
  border: 1px solid var(--landing-line);
  box-shadow: 0 24px 50px rgba(97, 130, 152, 0.14);
  backdrop-filter: blur(18px);
  background: var(--landing-panel);
}

.landing-preview-card,
.landing-message-card,
.landing-info-panel,
.landing-actions-card {
  border-radius: 34px;
  padding: 1.2rem;
}

.landing-preview-header {
  margin-bottom: 0.85rem;
}

.landing-canvas-frame {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(226, 237, 245, 0.6)),
    rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(74, 108, 136, 0.12);
}

.landing-actions-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(245, 250, 253, 0.7)),
    rgba(255, 255, 255, 0.62);
}

.landing-actions-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.landing-actions-header h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.landing-actions-copy {
  max-width: 24rem;
  margin: 0;
  color: var(--landing-muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

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

.landing-actions-grid .button {
  width: 100%;
}

.landing-actions-grid .button-primary {
  grid-column: 1 / -1;
}

.landing-toolbar,
.landing-output {
  width: min(1000px, 100%);
  margin: 0 auto;
}

.landing-toolbar {
  margin-top: 1rem;
}

.landing-toolbar-block {
  padding: 1.15rem;
  border-radius: 32px;
}

.landing-toolbar-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.landing-toolbar-head h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.landing-toolbar-label {
  margin: 0 0 0.5rem;
  color: #5d7d96;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
}

.landing-toolbar-copy {
  max-width: 25rem;
  margin: 0;
  color: var(--landing-muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.landing-body .format-pill,
.landing-body .theme-pill {
  min-width: 160px;
}

.landing-output {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 1rem;
  margin-top: 1rem;
}

.landing-message-title {
  margin-top: 0.1rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.24;
}

.landing-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.landing-body .info-card,
.landing-body .message-card,
.landing-body .editor-card,
.landing-body .library-card,
.landing-body .stat-card {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(74, 108, 136, 0.12);
}

.landing-rotation-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.button-compact {
  min-height: 2.9rem;
  padding: 0.8rem 1rem;
}

.share-sheet {
  width: min(100%, 640px);
  max-height: min(84vh, 760px);
  overflow-y: auto;
  padding: 1rem;
  border-radius: 28px;
  color: var(--landing-text);
}

.share-sheet-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.share-sheet-close {
  min-height: 2.6rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  color: var(--landing-text);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(74, 108, 136, 0.14);
  cursor: pointer;
}

.share-sheet-description {
  margin: 0.45rem 0 0;
  color: var(--landing-muted);
  line-height: 1.55;
  font-size: 0.94rem;
}

.share-sheet-block {
  margin-top: 0.8rem;
  padding: 0.9rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(74, 108, 136, 0.12);
}

.share-sheet-note p {
  margin: 0;
  color: var(--landing-muted);
  line-height: 1.6;
}

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

.share-sheet-grid .share-chip,
.share-sheet .format-pill {
  width: 100%;
}

.share-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
}

.share-chip-badge,
.format-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 1.9rem;
  height: 1.9rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.72);
}

.share-chip-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.share-chip-copy strong {
  font-size: 0.97rem;
  line-height: 1.2;
}

.share-chip-copy small {
  color: var(--landing-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.share-chip-primary {
  border-color: rgba(101, 139, 166, 0.16);
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.94), rgba(223, 236, 245, 0.94));
  box-shadow: 0 14px 28px rgba(103, 138, 165, 0.14);
}

.share-sheet .format-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.share-sheet .format-pill {
  min-width: 0;
  padding: 0.82rem 0.86rem;
  border-radius: 16px;
}

.share-sheet .format-pill strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.share-sheet .format-pill-icon {
  min-width: 2rem;
}

.share-sheet .format-pill-label {
  display: block;
  color: var(--landing-text);
  font-size: 0.95rem;
  line-height: 1.2;
}

.share-sheet .format-pill-detail {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.76rem;
  line-height: 1.3;
  color: var(--landing-muted);
}

.share-sheet .landing-toolbar-label {
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
}

.share-sheet .share-chip {
  width: 100%;
  min-height: 4.15rem;
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
}

.admin-body {
  background:
    radial-gradient(circle at 16% 16%, rgba(239, 194, 125, 0.08), transparent 20%),
    radial-gradient(circle at 86% 18%, rgba(159, 212, 255, 0.14), transparent 18%),
    linear-gradient(180deg, #121827 0%, #0d1321 52%, #0a101b 100%);
}

.admin-status-time {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.admin-auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
}

.admin-login-card {
  display: flex;
  flex-direction: column;
}

.admin-login-fields {
  grid-template-columns: 1fr;
}

.admin-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 1024px) {
  .landing-stage,
  .landing-output,
  .admin-auth-grid {
    grid-template-columns: 1fr;
  }

  .landing-stage {
    min-height: auto;
    padding-top: 1.8rem;
  }

  .landing-copy {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .landing-shell {
    width: min(100% - 0.9rem, 100%);
    padding-top: 0.7rem;
  }

  .landing-topbar,
  .landing-actions-header,
  .landing-toolbar-head,
  .landing-rotation-card,
  .admin-panel-header {
    flex-direction: column;
  }

  .landing-nav,
  .landing-primary-actions,
  .landing-trust-strip,
  .landing-meta,
  .landing-info-grid {
    width: 100%;
  }

  .landing-nav a,
  .landing-primary-actions .button,
  .landing-actions-grid,
  .landing-actions-grid .button {
    width: 100%;
  }

  .landing-meta,
  .landing-info-grid,
  .landing-actions-grid,
  .share-sheet .format-pills,
  .share-sheet-grid {
    grid-template-columns: 1fr;
  }

  .landing-copy {
    text-align: left;
  }

  .landing-copy h1 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }

  .landing-preview-card,
  .landing-message-card,
  .landing-info-panel,
  .landing-actions-card,
  .landing-toolbar-block,
  .share-sheet {
    border-radius: 26px;
  }

  .landing-body .format-pill,
  .landing-body .theme-pill {
    width: 100%;
    min-width: 0;
  }

  .share-sheet-header {
    flex-direction: column;
  }
}

.gallery-body {
  --gallery-bg: #131313;
  --gallery-surface: rgba(23, 23, 24, 0.82);
  --gallery-surface-strong: rgba(29, 29, 31, 0.94);
  --gallery-line: rgba(255, 255, 255, 0.08);
  --gallery-text: #f6f0e6;
  --gallery-muted: #c8bfaf;
  --gallery-accent: #f0c98a;
  --gallery-accent-soft: #ffebc6;
  color: var(--gallery-text);
  background:
    radial-gradient(circle at 18% 12%, rgba(244, 193, 121, 0.16), transparent 18rem),
    radial-gradient(circle at 88% 14%, rgba(132, 155, 199, 0.16), transparent 22rem),
    linear-gradient(180deg, #1e1d1d 0%, #171616 48%, #111111 100%);
}

.gallery-body .eyebrow {
  color: var(--gallery-accent-soft);
}

.gallery-body .button-primary {
  color: #23180d;
  background: linear-gradient(135deg, #f6d8a8 0%, #eab05f 100%);
  box-shadow: 0 18px 34px rgba(215, 164, 93, 0.22);
}

.gallery-body .button-secondary {
  color: var(--gallery-text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.gallery-glow {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.32;
  pointer-events: none;
  z-index: 0;
}

.gallery-glow-left {
  top: -10rem;
  left: -8rem;
  background: rgba(233, 184, 111, 0.4);
}

.gallery-glow-right {
  right: -10rem;
  bottom: -10rem;
  background: rgba(96, 121, 176, 0.34);
}

.gallery-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 1.4rem));
  margin: 0 auto;
  padding: 1rem 0 2.8rem;
}

.gallery-pagebar,
.gallery-intro-card,
.gallery-device,
.gallery-note-card,
.gallery-meta-card,
.gallery-filter-chip,
.gallery-device-pill,
.gallery-device-back,
.gallery-icon-button {
  border: 1px solid var(--gallery-line);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.gallery-pagebar,
.gallery-intro-card,
.gallery-note-card,
.gallery-meta-card {
  background: var(--gallery-surface);
}

.gallery-pagebar {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 0.9rem;
  border-radius: 24px;
}

.gallery-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.gallery-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 20px;
  color: #26180d;
  font-weight: 800;
  letter-spacing: 0.14em;
  background: linear-gradient(135deg, #f9e2bf 0%, #ebbc74 100%);
  overflow: hidden;
  padding: 0.18rem;
}

.gallery-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.gallery-brand-copy strong {
  font-size: 1rem;
}

.gallery-brand-copy small,
.gallery-intro-copy,
.gallery-note-card p,
.gallery-card-reference,
.gallery-empty {
  color: var(--gallery-muted);
}

.gallery-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  align-items: start;
  margin-top: 0.7rem;
}

.gallery-intro-card,
.gallery-device {
  border-radius: 34px;
}

.gallery-intro-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 1.15rem;
}

.gallery-intro-card h1 {
  margin-top: 0.2rem;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 0.98;
}

.gallery-intro-copy {
  margin: 0.55rem 0 0;
  max-width: 24ch;
  line-height: 1.45;
  font-size: 0.96rem;
}

.gallery-intro-side {
  display: grid;
  gap: 0.75rem;
  min-width: min(100%, 420px);
}

.gallery-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.gallery-meta-card {
  padding: 1rem 0.95rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.gallery-meta-card span {
  display: block;
  color: var(--gallery-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.gallery-meta-card strong {
  display: block;
  margin-top: 0.55rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gallery-text);
}

.gallery-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.gallery-device {
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.gallery-filter-row {
  display: flex;
  gap: 0.7rem;
  position: sticky;
  top: 0.7rem;
  z-index: 8;
  margin-top: 0;
  padding: 0.15rem 0 0.65rem;
  background: linear-gradient(180deg, rgba(17, 17, 19, 0.94) 0%, rgba(17, 17, 19, 0.82) 72%, rgba(17, 17, 19, 0) 100%);
  overflow-x: auto;
  scrollbar-width: none;
}

.gallery-filter-row::-webkit-scrollbar {
  display: none;
}

.gallery-filter-chip {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  padding: 0.78rem 1rem;
  border-radius: 999px;
  color: var(--gallery-text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.gallery-filter-chip strong {
  font-size: 0.92rem;
  white-space: nowrap;
}

.gallery-filter-chip.is-active {
  border-color: rgba(241, 208, 149, 0.28);
  background: linear-gradient(180deg, rgba(248, 221, 179, 0.16), rgba(255, 255, 255, 0.08));
  transform: translateY(-1px);
}

.gallery-grid {
  margin-top: 0.1rem;
  columns: 2 160px;
  column-gap: 0.85rem;
}

.gallery-card {
  break-inside: avoid;
  margin-bottom: 0.85rem;
}

.gallery-card-media {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: var(--card-ratio, 4 / 5);
  background: #1c1c1d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.24);
}

.gallery-card-image,
.gallery-card-overlay {
  position: absolute;
  inset: 0;
}

.gallery-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.gallery-card-overlay {
  background:
    linear-gradient(
      180deg,
      var(--card-overlay-top, rgba(255, 255, 255, 0.02)) 0%,
      var(--card-overlay-middle, rgba(32, 22, 20, 0.18)) 48%,
      var(--card-overlay-bottom, rgba(11, 9, 9, 0.74)) 100%
    );
}

.gallery-card-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.95rem 0.9rem 4.9rem;
}

.gallery-card-copy.is-top {
  justify-content: flex-start;
  text-align: center;
}

.gallery-card-copy.is-center {
  justify-content: center;
  text-align: center;
}

.gallery-card-copy.is-bottom {
  justify-content: flex-end;
  text-align: left;
}

.gallery-card-copy.is-plain {
  text-shadow: none;
}

.gallery-card-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: var(--card-accent, #fff2d9);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.12));
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.gallery-card-copy.is-center .gallery-card-badge,
.gallery-card-copy.is-top .gallery-card-badge {
  align-self: center;
}

.gallery-card-title,
.gallery-card-text,
.gallery-card-reference {
  margin: 0;
}

.gallery-card-title {
  color: var(--card-accent, #fff3df);
  font-size: clamp(1.02rem, 1.5vw, 1.28rem);
  line-height: 1.08;
  text-wrap: balance;
}

.gallery-card-text {
  color: #fff9ee;
  font-size: 0.9rem;
  line-height: 1.34;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-card-reference {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(255, 245, 230, 0.82);
}

.gallery-card-actions {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.85rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.gallery-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  width: 100%;
  min-height: 2.5rem;
  padding: 0.5rem 0.45rem;
  border-radius: 999px;
  color: #fff8ef;
  background: rgba(28, 25, 26, 0.62);
  cursor: pointer;
}

.gallery-icon-button span {
  font-size: 0.98rem;
}

.gallery-icon-button small {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.gallery-icon-button.is-active {
  color: #ffd692;
  background: rgba(92, 59, 26, 0.8);
}

.gallery-empty {
  margin: 1rem 0 0;
  padding: 1.1rem 1rem;
  border-radius: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  text-align: center;
  line-height: 1.6;
}

.gallery-body .toast {
  color: var(--gallery-text);
  background: rgba(16, 16, 18, 0.92);
}

.gallery-editor-sheet {
  width: min(100%, 640px);
  max-height: min(86vh, 820px);
  overflow-y: auto;
  padding: 1rem;
  border-radius: 28px;
  color: var(--gallery-text);
  border: 1px solid var(--gallery-line);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    var(--gallery-surface-strong);
}

.gallery-editor-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.gallery-editor-description {
  margin: 0.55rem 0 0;
  color: var(--gallery-muted);
  line-height: 1.6;
}

.gallery-editor-fields {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.gallery-editor-fields .field span {
  color: var(--gallery-accent-soft);
}

.gallery-editor-fields .field input,
.gallery-editor-fields .field textarea {
  color: var(--gallery-text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.gallery-editor-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (max-width: 1024px) {
  .gallery-intro-copy {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .gallery-shell {
    width: min(100% - 0.9rem, 100%);
    padding-top: 0.7rem;
  }

  .gallery-pagebar {
    display: flex;
    width: calc(100% - 0.1rem);
  }

  .gallery-intro-card,
  .gallery-device {
    border-radius: 28px;
  }

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

  .gallery-intro-card h1 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .gallery-grid {
    column-gap: 0.7rem;
  }

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

.site-logo-image {
  display: block;
  padding: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter:
    saturate(1.03)
    brightness(1.02)
    drop-shadow(0 10px 24px rgba(255, 207, 133, 0.1));
}

.brand,
.landing-brand,
.gallery-brand {
  gap: 1rem;
}

.brand-mark,
.landing-brand-mark,
.landing-seal,
.gallery-brand-mark {
  background: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  padding: 0;
}

.brand-mark,
.landing-brand-mark,
.gallery-brand-mark {
  display: block;
  width: 7.4rem;
  height: auto;
  flex: none;
  line-height: 0;
}

.landing-seal {
  display: block;
  width: min(15rem, 72vw);
  height: auto;
  line-height: 0;
  margin-bottom: 1.15rem;
}

.landing-brand-name,
.gallery-brand-copy strong,
.brand h1 {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.landing-brand-name {
  font-size: 1.05rem;
}

.gallery-brand-copy strong {
  font-size: 1.08rem;
}

@media (max-width: 760px) {
  .brand-mark,
  .landing-brand-mark,
  .gallery-brand-mark {
    width: 6rem;
    height: auto;
  }

  .landing-seal {
    width: min(11rem, 68vw);
    height: auto;
  }
}

.button-whatsapp {
  color: #0d2b1d;
  background: linear-gradient(135deg, #b8f4d0 0%, #41d07e 100%);
  box-shadow: 0 18px 36px rgba(46, 177, 103, 0.22);
}

.plan-faq-list,
.contact-direct-list,
.support-contact-list {
  display: grid;
  gap: 0.85rem;
}

.plan-faq-list {
  margin-top: 1rem;
}

.plan-faq-item,
.plan-support-card,
.contact-direct-card,
.contact-status-card {
  padding: 1rem 1.05rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    rgba(255, 255, 255, 0.04);
}

.plan-faq-item strong,
.contact-direct-card strong {
  display: block;
  color: #fff8ec;
  line-height: 1.35;
}

.plan-faq-item p,
.contact-direct-card p,
.contact-status-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.plan-support-card {
  margin-top: 1rem;
}

.support-contact-item,
.contact-direct-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.support-contact-item {
  padding: 0.95rem 1rem;
  border-radius: 20px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.support-contact-item span,
.contact-direct-card span,
.contact-status-badge {
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.support-contact-item strong,
.contact-direct-card strong,
.email-target {
  word-break: break-word;
}

.contact-actions {
  align-items: stretch;
}

.contact-actions .button {
  flex: 1 1 220px;
}

.contact-inline-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-status-card {
  margin-top: 1rem;
}

.contact-status-card h3 {
  margin-top: 0.35rem;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.contact-status-card.is-success {
  border-color: rgba(91, 201, 137, 0.3);
  background:
    linear-gradient(180deg, rgba(120, 223, 165, 0.1), transparent),
    rgba(255, 255, 255, 0.05);
}

.contact-status-card.is-error {
  border-color: rgba(255, 150, 138, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 160, 147, 0.08), transparent),
    rgba(255, 255, 255, 0.05);
}

.contact-status-card.is-sending {
  border-color: rgba(255, 226, 168, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 224, 168, 0.1), transparent),
    rgba(255, 255, 255, 0.05);
}

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

.legal-card {
  padding: 1.2rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    rgba(255, 255, 255, 0.04);
}

.legal-card h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.legal-card p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.72;
}

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

.legal-list li + li {
  margin-top: 0.75rem;
}

.legal-status-time {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  line-height: 1.12;
}

.site-footer {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - 1.2rem));
  margin: 1rem auto 2rem;
}

.site-footer-shell {
  padding: 1.2rem 1.3rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    rgba(17, 22, 38, 0.72);
}

.site-footer-title {
  margin: 0;
  color: #fff8ec;
  font-size: 1.05rem;
  font-weight: 800;
}

.site-footer-grid {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.8rem;
}

.site-footer-text,
.site-footer-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer a {
  color: #fff6df;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.site-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.site-footer-note {
  margin-top: 0.9rem;
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  left: 1rem;
  bottom: 1rem;
  z-index: 70;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.05rem;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(22px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    rgba(11, 16, 29, 0.92);
}

.cookie-banner-title {
  margin: 0;
  color: #fff6de;
  font-size: 0.95rem;
  font-weight: 800;
}

.cookie-banner-text {
  margin: 0.35rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.whatsapp-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 3.75rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  color: #0c281b;
  background: linear-gradient(135deg, #c8f7d8 0%, #50d884 100%);
  box-shadow: 0 18px 42px rgba(35, 155, 90, 0.28);
}

.whatsapp-fab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 800;
  color: #f5fff8;
  background: rgba(8, 61, 33, 0.22);
}

.whatsapp-fab-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.whatsapp-fab-copy strong {
  font-size: 0.95rem;
  line-height: 1.1;
}

.whatsapp-fab-copy small {
  color: rgba(8, 40, 27, 0.78);
  font-size: 0.75rem;
}

@media (max-width: 760px) {
  .site-footer {
    width: min(100% - 0.8rem, 100%);
    margin-bottom: 5.5rem;
  }

  .site-footer-links,
  .cookie-banner,
  .cookie-banner-actions {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    display: block;
    padding: 0.95rem;
  }

  .cookie-banner-actions {
    margin-top: 0.85rem;
    display: grid;
  }

  .cookie-banner-actions .button {
    width: 100%;
  }

  .whatsapp-fab {
    right: 0.75rem;
    bottom: 0.85rem;
    left: 0.75rem;
    justify-content: center;
  }

  .whatsapp-fab-copy {
    align-items: flex-start;
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(9, 14, 25, 0.2),
    0 0 0 5px rgba(255, 224, 168, 0.44);
}

.landing-stage {
  gap: 1.6rem;
  align-items: stretch;
  min-height: auto;
  padding: 1.6rem 0 0.75rem;
}

.landing-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 36rem;
}

.landing-summary {
  max-width: 38ch;
}

.landing-preview-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(241, 248, 252, 0.78)),
    rgba(255, 255, 255, 0.7);
}

.landing-preview-card::before {
  content: "";
  position: absolute;
  inset: 0.7rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  pointer-events: none;
}

.landing-canvas-frame {
  position: relative;
  overflow: hidden;
  min-height: 32rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    0 28px 54px rgba(76, 111, 138, 0.18);
}

.landing-canvas-frame #shareCanvas {
  position: relative;
  z-index: 2;
  opacity: 0;
  transition: opacity 260ms ease;
}

.landing-canvas-frame.is-ready #shareCanvas {
  opacity: 1;
}

.landing-canvas-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.landing-canvas-poster.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.landing-canvas-poster-image,
.landing-canvas-poster-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.landing-canvas-poster-image {
  object-fit: cover;
  transform: scale(1.02);
}

.landing-canvas-poster-overlay {
  background:
    linear-gradient(180deg, rgba(255, 249, 238, 0.08) 0%, rgba(53, 70, 86, 0.18) 30%, rgba(8, 12, 18, 0.66) 100%);
}

.landing-canvas-poster-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  color: #fff9ef;
  text-align: center;
}

.landing-canvas-date {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 241, 214, 0.9);
}

.landing-canvas-verse {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.18;
  text-wrap: balance;
  text-shadow: 0 10px 28px rgba(7, 11, 17, 0.42);
}

.landing-canvas-reference {
  margin: 0;
  font-size: 0.98rem;
  color: rgba(255, 246, 228, 0.88);
}

.landing-canvas-theme {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.3rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(93, 126, 158, 0.58);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.canvas-loading {
  inset: 1rem 1rem auto auto;
  min-width: 0;
  padding: 0.68rem 0.95rem;
  border-radius: 999px;
  text-align: left;
  background: rgba(14, 19, 29, 0.76);
  box-shadow: 0 12px 26px rgba(15, 19, 30, 0.2);
}

.landing-preview-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.landing-preview-benefits span {
  padding: 0.62rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(74, 108, 136, 0.12);
  background: rgba(255, 255, 255, 0.58);
  color: var(--landing-text);
  font-size: 0.84rem;
  font-weight: 700;
}

.landing-meta-card,
.landing-body .info-card,
.landing-actions-card,
.landing-message-card,
.landing-toolbar-block {
  box-shadow: 0 18px 40px rgba(101, 132, 153, 0.1);
}

.landing-body .theme-pill,
.landing-body .format-pill,
.landing-nav a {
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.landing-body .theme-pill:hover,
.landing-body .format-pill:hover,
.landing-nav a:hover {
  box-shadow: 0 12px 26px rgba(105, 138, 160, 0.12);
}

.pricing-card-highlight {
  position: relative;
  overflow: hidden;
}

.pricing-card-highlight::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, rgba(255, 226, 168, 0.96), rgba(180, 240, 208, 0.72));
}

.plan-checkout-shell {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    rgba(255, 255, 255, 0.04);
}

.plan-checkout-copy {
  margin: 0 0 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}

.plan-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 0;
}

.plan-benefit-card {
  padding: 0.9rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.plan-benefit-card span {
  display: block;
  color: var(--gold-soft);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.plan-benefit-card strong {
  display: block;
  margin-top: 0.45rem;
  color: #fff8ec;
  line-height: 1.45;
  font-size: 0.95rem;
}

.plan-faq-item {
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.plan-faq-item:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 223, 173, 0.16);
}

.plan-support-card {
  background:
    linear-gradient(180deg, rgba(184, 244, 208, 0.08), transparent),
    rgba(255, 255, 255, 0.04);
}

.gallery-pagebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
  padding: 0.9rem 1rem;
}

.gallery-brand-copy small {
  font-size: 0.84rem;
  line-height: 1.45;
}

.gallery-grid {
  margin-top: 0.25rem;
  column-gap: 1rem;
}

.gallery-card {
  transform: translateY(0);
  transition: transform 180ms ease;
}

.gallery-card:hover {
  transform: translateY(-3px);
}

.gallery-card-media {
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.gallery-card-image {
  opacity: 0.72;
  transition: opacity 240ms ease, transform 240ms ease;
}

.gallery-card.is-ready .gallery-card-image,
.gallery-card:hover .gallery-card-image {
  opacity: 1;
  transform: scale(1.035);
}

.gallery-card-copy {
  gap: 0.38rem;
  padding-bottom: 5.1rem;
}

.gallery-card-title {
  text-shadow: 0 10px 22px rgba(7, 7, 8, 0.3);
}

.gallery-card-text {
  line-height: 1.42;
}

.gallery-card-text.is-loading {
  opacity: 0.74;
  font-style: italic;
}

.gallery-icon-button {
  min-height: 2.65rem;
  background: rgba(17, 17, 18, 0.72);
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.gallery-icon-button:hover {
  transform: translateY(-1px);
  background: rgba(33, 30, 31, 0.84);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.gallery-empty {
  margin-top: 0.8rem;
  padding: 1.35rem;
  border-style: solid;
  border-color: rgba(255, 232, 196, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    rgba(24, 22, 23, 0.72);
}

.gallery-empty-title {
  margin: 0;
  color: var(--gallery-text);
  font-family: "Constantia", "Palatino Linotype", serif;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.gallery-empty-text {
  margin: 0.6rem 0 0;
  color: var(--gallery-muted);
  line-height: 1.65;
}

.gallery-empty-art {
  display: flex;
  gap: 0.6rem;
  margin: 1rem 0 0;
}

.gallery-empty-art span {
  flex: 1 1 0;
  height: 5.6rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 229, 184, 0.22), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
}

.gallery-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.gallery-empty-actions .button {
  min-width: 12rem;
}

@media (max-width: 1024px) {
  .plan-benefit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .landing-stage {
    padding-top: 1rem;
  }

  .landing-canvas-frame {
    min-height: 25rem;
  }

  .landing-preview-benefits,
  .gallery-empty-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .gallery-pagebar {
    align-items: flex-start;
  }

  .gallery-empty-art span {
    height: 4.5rem;
  }
}

.signup-modal-backdrop {
  padding: 1.25rem;
  background: rgba(9, 10, 12, 0.66);
  backdrop-filter: blur(14px);
}

.signup-modal {
  width: min(100%, 33rem);
  max-height: min(90vh, 48rem);
  overflow: auto;
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: transform 180ms ease, opacity 180ms ease;
}

.signup-modal-backdrop.is-open .signup-modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.signup-modal-surface {
  width: 100%;
}

.signup-modal-card {
  padding: 1.35rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 236, 209, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 243, 0.92)),
    #fff9f0;
  box-shadow:
    0 28px 80px rgba(9, 10, 13, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  color: #33261c;
}

.signup-modal-card-success {
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(248, 255, 249, 0.94)),
    #fff9f0;
}

.signup-modal-card-exit {
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.98), rgba(255, 245, 232, 0.94)),
    #fff8ef;
}

.signup-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.signup-modal-close {
  border: 0;
  background: transparent;
  color: rgba(79, 56, 34, 0.76);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: color 160ms ease, transform 160ms ease;
}

.signup-modal-close:hover {
  color: #3f2d1e;
  transform: translateY(-1px);
}

.signup-modal-kicker {
  margin: 0 0 0.35rem;
  color: #8e6b37;
}

.signup-modal-title {
  margin: 0;
  color: #241912;
  font-family: "Constantia", "Palatino Linotype", serif;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  line-height: 1.08;
}

.signup-modal-text {
  margin: 1rem 0 0;
  color: rgba(51, 38, 28, 0.9);
  line-height: 1.68;
  font-size: 0.98rem;
}

.signup-modal-subtext,
.signup-modal-note,
.signup-modal-legal {
  margin: 0.9rem 0 0;
  color: rgba(76, 57, 40, 0.78);
  line-height: 1.6;
  font-size: 0.9rem;
}

.signup-modal-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.signup-modal-points span {
  padding: 0.62rem 0.86rem;
  border-radius: 999px;
  border: 1px solid rgba(209, 176, 124, 0.28);
  background: rgba(255, 255, 255, 0.76);
  color: #5a412c;
  font-size: 0.82rem;
  font-weight: 700;
}

.signup-modal-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.signup-modal-field {
  display: grid;
  gap: 0.42rem;
}

.signup-modal-field span {
  color: #4f3928;
  font-size: 0.92rem;
  font-weight: 700;
}

.signup-modal-field input {
  width: 100%;
  min-height: 3.2rem;
  padding: 0.92rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(193, 166, 129, 0.34);
  background: rgba(255, 255, 255, 0.92);
  color: #241912;
  font: inherit;
  box-sizing: border-box;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.signup-modal-field input:focus {
  outline: none;
  border-color: rgba(203, 148, 82, 0.76);
  box-shadow: 0 0 0 4px rgba(248, 214, 162, 0.34);
}

.signup-modal-legal a {
  color: #7b572f;
  font-weight: 700;
  text-decoration: none;
}

.signup-modal-legal a:hover {
  text-decoration: underline;
}

.signup-modal-error {
  margin: 0;
  padding: 0.82rem 0.9rem;
  border-radius: 16px;
  background: rgba(164, 56, 38, 0.08);
  color: #8f3324;
  font-size: 0.9rem;
  line-height: 1.55;
}

.signup-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.signup-modal-actions .button {
  flex: 1 1 12rem;
  min-height: 3.25rem;
}

.signup-modal-actions-form {
  margin-top: 0.15rem;
}

.gallery-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 236, 204, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 245, 230, 0.92);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.gallery-status-pill[data-state="trial"] {
  border-color: rgba(255, 225, 176, 0.22);
  background: rgba(255, 214, 149, 0.12);
  color: #fff4dc;
}

.gallery-status-pill[data-state="plan"] {
  border-color: rgba(183, 241, 208, 0.2);
  background: rgba(168, 238, 201, 0.1);
  color: #eafff2;
}

.gallery-status-pill[data-state="expired"] {
  border-color: rgba(255, 208, 182, 0.16);
  background: rgba(255, 208, 182, 0.08);
  color: #ffe6d9;
}

@media (max-width: 760px) {
  .signup-modal-backdrop {
    padding: 0.85rem;
  }

  .signup-modal {
    width: 100%;
  }

  .signup-modal-card {
    padding: 1.1rem;
    border-radius: 24px;
  }

  .signup-modal-title {
    font-size: 1.55rem;
  }

  .signup-modal-points {
    display: grid;
    grid-template-columns: 1fr;
  }

  .signup-modal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .gallery-pagebar {
    gap: 0.8rem;
  }

  .gallery-status-pill {
    width: 100%;
    justify-content: flex-start;
    white-space: normal;
  }
}
