:root {
  --bg: #fafafa;
  --bg-elevated: #ffffff;
  --fg: #0a0a0a;
  --fg-muted: #666666;
  --fg-subtle: #8f8f8f;
  --border: #eaeaea;
  --border-strong: #d4d4d4;
  --accent: #000000;
  --accent-hover: #171717;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.04);
  --radius: 12px;
  --radius-sm: 8px;
  --font: "Geist", "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[x-cloak] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--fg);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(0, 0, 0, 0.04), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(0, 0, 0, 0.03), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 40%, #f5f5f5 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2rem, 520px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(180%) blur(12px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(135deg, #111 0%, #444 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.header-nav {
  display: flex;
  gap: 1.25rem;
  color: var(--fg-muted);
  font-size: 0.925rem;
}

.header-nav a:hover {
  color: var(--fg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.15s ease;
  background: transparent;
  color: var(--fg);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

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

.btn-ghost {
  border-color: var(--border);
  background: #fff;
}

.btn-ghost:hover {
  border-color: var(--border-strong);
  background: #fafafa;
}

.btn-outline {
  border-color: var(--border-strong);
  background: transparent;
  color: var(--fg);
  min-width: 7.5rem;
}

.btn-outline:hover {
  border-color: #111;
  background: #fff;
}

.btn-cta {
  width: 100%;
  border-radius: 999px;
  color: #fff;
  border: none;
  padding: 0.85rem 1.1rem;
  font-weight: 560;
  letter-spacing: -0.01em;
}

.btn-cta:hover {
  filter: brightness(1.08);
}

.btn.full {
  width: 100%;
}

.btn-icon {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-text {
  border: 0;
  background: none;
  color: var(--fg-muted);
  cursor: pointer;
  padding: 0;
  font-size: 0.8rem;
}

.btn-text:hover {
  color: var(--fg);
}

.hero-home {
  padding: 5.5rem 0 2.5rem;
}

.eyebrow {
  color: var(--fg-muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.hero-home h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 650;
  margin: 0 0 1rem;
  max-width: 12ch;
}

.lede {
  max-width: 38rem;
  color: var(--fg-muted);
  font-size: 1.1rem;
  margin: 0;
}

.design-grid-section {
  padding: 2rem 0 3.5rem;
  scroll-margin-top: 5rem;
}

.integrations-section {
  padding: 0 0 6.5rem;
}

.home-slogan {
  margin: 7.5rem 0 1.5rem;
  text-align: center;
  font-size: clamp(1.75rem, 4.2vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.2;
  color: var(--fg);
}

.home-slogan-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  transition: opacity 0.15s ease;
}

.home-slogan-link:hover {
  opacity: 0.7;
}

.integrations-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}

.integration-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1.4rem 1.25rem 1.4rem 0;
  border-bottom: 1px solid var(--border);
}

.integration-item + .integration-item {
  padding-left: 1.25rem;
  border-left: 1px solid var(--border);
}

.integration-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  display: grid;
  place-items: center;
  color: #171717;
  font-size: 1rem;
}

.integration-item h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.integration-item p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head h2 {
  margin: 0 0 0.35rem;
  letter-spacing: -0.03em;
  font-size: 1.4rem;
}

.section-head p {
  margin: 0;
  color: var(--fg-muted);
}

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

.design-grid:not(.is-expanded) .design-card:nth-child(n + 3) {
  display: none;
}

.design-more {
  display: flex;
  justify-content: center;
  margin-top: 1.35rem;
}

@media (min-width: 560px) {
  .design-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .design-grid:not(.is-expanded) .design-card:nth-child(n + 3) {
    display: block;
  }

  .design-grid:not(.is-expanded) .design-card:nth-child(n + 5) {
    display: none;
  }
}

@media (min-width: 840px) {
  .design-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .design-grid:not(.is-expanded) .design-card:nth-child(n + 5) {
    display: block;
  }

  .design-grid:not(.is-expanded) .design-card:nth-child(n + 7) {
    display: none;
  }
}

@media (min-width: 1100px) {
  .design-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .design-grid:not(.is-expanded) .design-card:nth-child(n + 7) {
    display: block;
  }

  .design-grid:not(.is-expanded) .design-card:nth-child(n + 9) {
    display: none;
  }
}

.design-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.design-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.design-card-preview {
  height: 140px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, #f7f7f7, #efefef);
  border-bottom: 1px solid var(--border);
  font-size: 2rem;
  color: #222;
}

.design-card-body {
  padding: 1.1rem 1.15rem 1.2rem;
}

.design-card-body h3 {
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.design-card-body p {
  margin: 0 0 1rem;
  color: var(--fg-muted);
  font-size: 0.92rem;
  min-height: 3.2em;
}

.error-page,
.public-stage {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.page-view {
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(0, 0, 0, 0.05), transparent 55%),
    #f4f4f5;
}

.error-page h1 {
  letter-spacing: -0.04em;
}

/* Editor */
.page-editor {
  background: #f6f6f6;
}

.page-editor .site-header {
  display: none;
}

.editor-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.editor-topbar-inner {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.editor-top-left,
.editor-top-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.back-link {
  color: var(--fg-muted);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.back-link:hover {
  color: var(--fg);
}

.divider {
  width: 1px;
  height: 18px;
  background: var(--border);
}

.title-input {
  border: 0;
  background: transparent;
  font-weight: 560;
  letter-spacing: -0.02em;
  min-width: 180px;
  outline: none;
}

.save-status {
  color: var(--fg-subtle);
  font-size: 0.82rem;
}

.editor-layout {
  display: grid;
  grid-template-columns: minmax(300px, 380px) 1fr;
  gap: 1.25rem;
  padding: 1.25rem 0 3rem;
  align-items: start;
}

.editor-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  max-height: calc(100vh - 100px);
  overflow: auto;
  position: sticky;
  top: 76px;
}

.panel-head {
  padding: 1.1rem 1.15rem;
  border-bottom: 1px solid var(--border);
}

.panel-head h2 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.panel-head p {
  margin: 0.2rem 0 0;
  color: var(--fg-muted);
  font-size: 0.85rem;
}

.field-stack {
  padding: 0.85rem 1.15rem 1.25rem;
  display: grid;
  gap: 1.15rem;
}

.field-group {
  display: grid;
  gap: 0.45rem;
}

.field-label,
.sub-label {
  font-size: 0.78rem;
  font-weight: 550;
  color: var(--fg-muted);
  letter-spacing: 0.01em;
}

.sub-label {
  display: block;
  margin: 0.55rem 0 0.3rem;
}

.input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  background: #fff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.input.textarea {
  resize: none;
  min-height: 96px;
}

.input.mono,
.mono {
  font-family: var(--mono);
  font-size: 0.86rem;
}

.hint,
.muted,
.small {
  color: var(--fg-subtle);
  font-size: 0.78rem;
  margin: 0.25rem 0 0;
}

.image-field {
  display: grid;
  gap: 0.55rem;
}

.image-preview {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #f4f4f4;
}

.image-preview img {
  width: 100%;
  height: 140px;
  object-fit: contain;
}

.image-preview .btn-icon {
  position: absolute;
  top: 8px;
  right: 8px;
}

.upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px dashed var(--border-strong);
  border-radius: 10px;
  padding: 0.75rem;
  cursor: pointer;
  color: var(--fg-muted);
  background: #fafafa;
}

.upload-btn input {
  display: none;
}

.upload-btn:hover {
  border-color: #111;
  color: var(--fg);
}

.image-adjust {
  display: grid;
  gap: 0.65rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fafafa;
}

.image-adjust-row {
  display: grid;
  gap: 0.3rem;
}

.image-adjust .sub-label {
  margin: 0;
}

.zoom-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  align-items: center;
}

.zoom-row input[type='range'] {
  width: 100%;
  accent-color: #111;
}

.zoom-value {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--fg-muted);
  min-width: 2.5rem;
  text-align: right;
}

.image-bg-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
  align-items: center;
}

.color-trigger.compact {
  padding: 0.45rem 0.65rem;
}

.color-trigger,
.icon-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.color-trigger .swatch {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.color-trigger span:nth-child(2),
.icon-trigger span {
  flex: 1;
  font-family: var(--mono);
  font-size: 0.84rem;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  background: #f4f4f4;
  padding: 0.3rem;
  border-radius: 10px;
}

.segmented button {
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 0.45rem 0.25rem;
  font-size: 0.75rem;
  cursor: pointer;
  color: var(--fg-muted);
}

.segmented button.active {
  background: #fff;
  color: var(--fg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.list-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem;
  margin-bottom: 0.6rem;
  background: #fafafa;
}

.list-item-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
  font-size: 0.78rem;
  color: var(--fg-muted);
}

.editor-preview {
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
}

.preview-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  background: #fff;
  border: 1px solid var(--border);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
}

.preview-chrome .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
}

.preview-label {
  margin-left: auto;
  color: var(--fg-subtle);
  font-size: 0.78rem;
}

.preview-stage,
.public-stage {
  display: grid;
  place-items: center;
}

.preview-stage {
  flex: 1;
  background:
    linear-gradient(180deg, #fafafa, #f0f0f0);
  border: 1px solid var(--border);
  border-radius: 0 0 16px 16px;
  padding: 2rem 1rem;
}

/* Landing cards */
.lc-card {
  width: min(100%, 420px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  --accent: #111;
}

.lc-card h1 {
  margin: 0;
  font-size: 1.65rem;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.lc-role,
.lc-bio,
.lc-meta,
.lc-kicker,
.lc-price {
  margin: 0;
}

.lc-role,
.lc-kicker,
.lc-price,
.lc-meta {
  color: var(--fg-muted);
}

.lc-bio {
  color: #444;
  font-size: 0.98rem;
}

.lc-list {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  display: grid;
  gap: 0.55rem;
}

.lc-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #333;
  font-size: 0.92rem;
}

.lc-list i {
  color: var(--accent);
}

.lc-list.compact {
  margin-top: 0.9rem;
}

.lc-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: #f2f2f2;
}

.lc-avatar.sm {
  width: 70px;
  height: 70px;
}

.lc-avatar-fallback {
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: #555;
  background: linear-gradient(180deg, #f7f7f7, #ececec);
}

.lc-profile,
.lc-links,
.lc-product-body,
.lc-announce-body,
.lc-soon-body {
  padding: 1.4rem 1.35rem 1.45rem;
}

.lc-profile-top {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.lc-avatar-wrap {
  position: relative;
}

.lc-badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  border: 2px solid #fff;
}

.lc-profile .lc-bio {
  margin-bottom: 0.25rem;
}

.lc-profile .cta-block,
.lc-links .cta-block,
.lc-product .cta-block,
.lc-announce .cta-block,
.lc-soon .cta-block,
.lc-portrait .cta-block,
.lc-split .cta-block,
.lc-tour .cta-block,
.lc-gallery-card .cta-block,
.lc-ticket .cta-block {
  margin-top: 1.25rem;
}

.lc-ticket {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr;
  overflow: visible;
  background: #fff;
  border-radius: 18px;
}

.lc-ticket-stub {
  position: relative;
  display: grid;
  place-items: center;
  padding: 1.1rem 0.55rem;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(0, 0, 0, 0.03),
      rgba(0, 0, 0, 0.03) 6px,
      transparent 6px,
      transparent 12px
    ),
    #fafafa;
  border-right: 0;
  border-radius: 18px 0 0 18px;
}

.lc-ticket-stub-inner {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  color: var(--accent);
  text-align: center;
}

.lc-ticket-stub-inner i {
  font-size: 1.25rem;
}

.lc-ticket-stub-inner span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #171717;
}

.lc-ticket-perforation {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 92px;
  width: 0;
  border-left: 2px dashed #d4d4d4;
  transform: translateX(-1px);
  z-index: 2;
  pointer-events: none;
}

.lc-ticket-perforation::before,
.lc-ticket-perforation::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f4f4f5;
  transform: translateX(-50%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.lc-ticket-perforation::before {
  top: -19px;
}

.lc-ticket-perforation::after {
  bottom: -19px;
}

.page-view .lc-ticket-perforation::before,
.page-view .lc-ticket-perforation::after,
.export-view .lc-ticket-perforation::before,
.export-view .lc-ticket-perforation::after {
  background: #f4f4f5;
}

.preview-stage .lc-ticket-perforation::before,
.preview-stage .lc-ticket-perforation::after {
  background: #f0f0f0;
}

.lc-ticket-body {
  padding: 1.25rem 1.3rem 1.35rem 1.45rem;
}

.lc-ticket-eyebrow {
  margin: 0 0 0.35rem;
  color: var(--fg-muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lc-ticket-body h1 {
  margin: 0 0 0.85rem;
  font-size: 1.55rem;
}

.lc-ticket-meta {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.lc-ticket-meta > div {
  display: grid;
  gap: 0.12rem;
}

.lc-ticket-label {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}

.lc-ticket-meta strong {
  font-weight: 560;
  letter-spacing: -0.02em;
  color: #171717;
}

.lc-ticket-code {
  margin-top: 0.9rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.lc-gallery-stage {
  position: relative;
  height: 240px;
  background: #111;
  overflow: hidden;
}

.lc-gallery-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lc-gallery-empty {
  height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(145deg, #1a1a1a, #3a3a3a 55%, #111);
  font-size: 0.9rem;
}

.lc-gallery-empty i {
  font-size: 1.8rem;
}

.lc-gallery-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.65rem;
  pointer-events: none;
}

.lc-gallery-btn {
  pointer-events: auto;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.lc-gallery-btn:hover {
  background: #fff;
}

.lc-gallery-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.7rem;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}

.lc-gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.lc-gallery-dot.active {
  background: #fff;
  transform: scale(1.15);
}

.lc-gallery-body {
  padding: 1.25rem 1.35rem 1.45rem;
}

.lc-gallery-body .lc-kicker {
  margin-bottom: 0.35rem;
}

.lc-gallery-body h1 {
  margin-bottom: 0.55rem;
}

.gallery-field {
  display: grid;
  gap: 0.65rem;
}

.lc-tour-media {
  height: 160px;
  background: #111;
}

.lc-tour-media img,
.lc-tour-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lc-tour-placeholder {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 2rem;
  background: linear-gradient(145deg, #1a1a1a, #3a3a3a 55%, #111);
}

.lc-tour-body {
  padding: 1.25rem 1.35rem 1.45rem;
}

.lc-tour-body .lc-kicker {
  margin-bottom: 0.35rem;
}

.lc-tour-body h1 {
  margin-bottom: 1rem;
}

.lc-tour-list {
  display: grid;
  gap: 0.45rem;
}

.lc-tour-row {
  display: grid;
  grid-template-columns: 4.2rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fafafa;
  transition: 0.15s ease;
}

.lc-tour-row:hover:not(.is-static) {
  border-color: #111;
  background: #fff;
  transform: translateY(-1px);
}

.lc-tour-row.is-static {
  cursor: default;
}

.lc-tour-date {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: -0.02em;
  color: var(--accent);
  font-weight: 550;
}

.lc-tour-meta {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.lc-tour-meta strong {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.lc-tour-meta span {
  color: var(--fg-muted);
  font-size: 0.84rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lc-tour-row > i {
  color: var(--fg-subtle);
  font-size: 0.95rem;
}

.lc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(100%, 560px);
  min-height: 280px;
}

.lc-split-media {
  min-height: 100%;
  background: #f3f3f3;
}

.lc-split-media img,
.lc-split-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.lc-split-placeholder {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 2rem;
  background: linear-gradient(145deg, #1a1a1a, #3a3a3a 55%, #111);
}

.lc-split-body {
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lc-split-body .lc-kicker {
  margin-bottom: 0.45rem;
}

.lc-split-body h1 {
  margin-bottom: 0.55rem;
  font-size: 1.45rem;
}

.lc-split-body .lc-bio {
  margin-bottom: 0.15rem;
}

.lc-portrait {
  position: relative;
  overflow: visible;
  margin-top: 56px;
  padding: 4.25rem 1.35rem 1.45rem;
}

.lc-portrait-media {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.lc-portrait-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  background: #f4f4f5;
  border: 5px solid #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.lc-portrait-fallback {
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: #525252;
  background: linear-gradient(180deg, #f7f7f7, #ececec);
}

.lc-portrait-body h1 {
  margin-bottom: 0.25rem;
}

.lc-portrait-body .lc-role {
  margin-bottom: 0.75rem;
}

.lc-portrait-body .lc-bio {
  color: #444;
}

.lc-soon {
  padding: 0;
}

.lc-soon-media {
  position: relative;
  height: 180px;
  background: #111;
}

.lc-soon-media img,
.lc-soon-placeholder,
.lc-product-media img,
.lc-product-placeholder,
.lc-announce-media img,
.lc-announce-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lc-soon-placeholder,
.lc-product-placeholder,
.lc-announce-placeholder {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 2rem;
  background:
    linear-gradient(145deg, #1a1a1a, #3a3a3a 55%, #111);
}

.lc-soon-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
}

.lc-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.lc-brand-row i,
.lc-eyebrow-row i {
  color: var(--accent);
}

.lc-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  margin-bottom: 0.45rem;
}

.lc-soon h1 {
  margin-bottom: 0.65rem;
}

.lc-links-head {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  margin-bottom: 1.2rem;
}

.lc-link-stack {
  display: grid;
  gap: 0.55rem;
}

.lc-link-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fafafa;
  transition: 0.15s ease;
}

.lc-link-item:hover {
  border-color: #111;
  background: #fff;
  transform: translateY(-1px);
}

.lc-link-item i:first-child {
  color: var(--accent);
}

.lc-product {
  display: grid;
}

.lc-product-media {
  height: 210px;
  background: #f3f3f3;
}

.lc-price {
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.lc-product h1,
.lc-announce h1 {
  margin-bottom: 0.35rem;
}

.lc-product .lc-role {
  margin-bottom: 0.7rem;
}

.lc-announce-media {
  height: 190px;
  background: #111;
}

.lc-eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--fg-muted);
  font-size: 0.85rem;
  margin-bottom: 0.55rem;
}

.lc-meta {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

.cta-modal {
  z-index: 90;
}

.cta-modal-card {
  width: min(100%, 420px);
}

.download-modal {
  width: min(100%, 420px);
}

.download-lede {
  margin: 0 0 1rem;
  color: var(--fg-muted);
  font-size: 0.95rem;
}

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

.cta-form .field-group {
  gap: 0.45rem;
}

.cta-form .overlay-actions {
  margin-top: 0.25rem;
}

.cta-form .btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.cta-error {
  color: #b91c1c;
  font-size: 0.84rem;
  margin: 0;
}

.cta-success {
  display: grid;
  gap: 0.85rem;
  justify-items: start;
  padding: 0.25rem 0 0.15rem;
}

.cta-success-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  font-size: 1.1rem;
}

.cta-success .success {
  margin: 0;
  color: var(--fg);
  font-size: 1rem;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.cta-success .overlay-actions {
  width: 100%;
}

/* Overlays */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.35);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 1rem;
  z-index: 80;
}

.overlay-card {
  width: min(100%, 440px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  padding: 1rem;
}

.icon-overlay {
  width: min(100%, 560px);
}

.overlay-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.overlay-head h3 {
  margin: 0;
  letter-spacing: -0.02em;
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.swatch-btn {
  aspect-ratio: 1;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  padding: 0;
}

.swatch-btn.active {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.hex-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 1rem;
}

.hex-row label {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.native-color {
  width: 42px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0;
  background: none;
}

.overlay-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.icon-overlay .input {
  margin-bottom: 0.75rem;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.4rem;
  max-height: 320px;
  overflow: auto;
  margin-bottom: 0.9rem;
  padding-right: 0.2rem;
}

.icon-btn {
  aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  color: #222;
}

.icon-btn:hover,
.icon-btn.active {
  border-color: #111;
  background: #fafafa;
}

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

  .editor-panel {
    position: static;
    max-height: none;
  }

  .editor-topbar-inner {
    flex-wrap: wrap;
    padding: 0.65rem 0;
  }

  .swatch-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .icon-grid {
    grid-template-columns: repeat(6, 1fr);
  }

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

@media (max-width: 900px) {
  .integrations-list {
    grid-template-columns: 1fr;
  }

  .integration-item + .integration-item {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .hero-home {
    padding-top: 3.5rem;
  }

  .hero-home h1 {
    max-width: none;
  }

  .header-nav {
    display: none;
  }

  .lc-split {
    grid-template-columns: 1fr;
    width: min(100%, 420px);
  }

  .lc-split-media img,
  .lc-split-placeholder {
    min-height: 200px;
  }

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

  .lc-ticket-stub {
    border-radius: 18px 18px 0 0;
    padding: 0.85rem 1rem;
    border-bottom: 2px dashed #d4d4d4;
  }

  .lc-ticket-stub-inner {
    grid-auto-flow: column;
    align-items: center;
    gap: 0.55rem;
  }

  .lc-ticket-stub-inner span {
    writing-mode: horizontal-tb;
    transform: none;
    letter-spacing: 0.1em;
  }

  .lc-ticket-perforation {
    display: none;
  }
}
