/* ═══════════════════════════════════════════════════
   AI PREVIEW PAGE — Specific Styles
   Loaded on top of style.css
   ═══════════════════════════════════════════════════ */

/* When header is NOT over a dark hero image, use solid colors from the start */
/* Use high specificity to override the `.header:not(.header--scrolled)` rules from style.css */
.header.header--solid {
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--color-divider);
  padding: var(--space-3) 0;
}
.header.header--solid .nav-links a { color: var(--color-text-muted); }
.header.header--solid .nav-links a:hover { color: var(--color-text); }
.header.header--solid .nav-links a.active { color: var(--color-primary); }
.header.header--solid .nav-links a.active::after { width: 100%; background: var(--color-primary); }
.header.header--solid .logo { color: var(--color-text); }
.header.header--solid .theme-toggle { color: var(--color-text-muted); }
.header.header--solid .theme-toggle:hover { color: var(--color-text); }
.header.header--solid .nav-burger span { background: var(--color-text); }
.header.header--solid .nav-cta { background: var(--color-primary) !important; color: #fff !important; }
.header.header--solid .nav-cta:hover { background: var(--color-primary-hover) !important; }

/* ─── Page Hero ─── */
.page-hero {
  padding-top: calc(80px + var(--space-16));
  padding-bottom: var(--space-16);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, color-mix(in srgb, var(--color-primary) 8%, transparent) 0%, transparent 70%),
    linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle decorative grid pattern */
.page-hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--color-text) 4%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--color-text) 4%, transparent) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center center;
  mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}

.page-hero__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-decoration: none;
  margin-bottom: var(--space-10);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-full);
  background: var(--color-bg);
  transition: all 0.2s ease;
}
.page-hero__back:hover {
  color: var(--color-text);
  border-color: var(--color-primary);
  transform: translateX(-2px);
}
.page-hero__back svg { flex-shrink: 0; }

.page-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-5);
}

.page-hero__kicker-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: hero-dot-pulse 2s ease-in-out infinite;
}

@keyframes hero-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1rem + 5vw, 5.5rem);
  font-weight: 300;
  color: var(--color-text);
  line-height: 0.95;
  margin-bottom: var(--space-5);
  letter-spacing: -0.02em;
}

.page-hero__title em {
  font-style: italic;
  color: var(--color-primary);
  font-weight: 300;
}

.page-hero__rule {
  width: 80px;
  height: 1px;
  background: var(--color-primary);
  margin: 0 auto var(--space-6);
  opacity: 0.7;
}

.page-hero__lede {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto var(--space-5);
}

.page-hero__warning {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 540px;
  margin: 0 auto var(--space-8);
  padding: var(--space-3) var(--space-5);
  background: color-mix(in srgb, var(--color-primary) 8%, var(--color-bg));
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-sm);
  text-align: left;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.page-hero__warning svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.page-hero__warning strong { color: var(--color-text); font-weight: 600; }

.page-hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}

.page-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.page-hero__badge--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.page-hero__badge--highlight {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}

/* ─── Preview Section (copied/adapted from inline styles) ─── */
.preview {
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.preview--custom-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
}

.preview__subtitle {
  max-width: 640px;
  margin: var(--space-4) auto 0;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.preview__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin: var(--space-10) 0 var(--space-10);
}

.preview__tab {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.preview__tab:hover {
  border-color: var(--color-primary);
  color: var(--color-text);
  transform: translateY(-1px);
}
.preview__tab.active {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}
.preview__tab svg { flex-shrink: 0; }

.preview__viewer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-6), 4vw, var(--space-12));
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--color-bg);
  padding: clamp(var(--space-4), 3vw, var(--space-8));
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.preview--custom-section .preview__viewer,
.preview--custom-section .preview__custom {
  background: var(--color-bg);
}

.preview__image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 3/4;
  background: var(--color-surface);
}
.preview__image {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}
.preview__image.loading { opacity: 0.3; }

.preview__watermark {
  position: absolute;
  /* Anchored to the bottom-left corner so it stays clear of the subject's
     face — portrait-oriented AI concepts usually place the face in the upper
     half of the frame. */
  bottom: var(--space-3);
  left: var(--space-3);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  pointer-events: none;
  max-width: calc(100% - (var(--space-3) * 2));
}

@media (max-width: 640px) {
  .preview__watermark {
    padding: 5px 8px;
  }
  .preview__watermark span {
    font-size: 9px !important;
    letter-spacing: 0.12em !important;
  }
}
.preview__watermark span {
  color: rgba(255, 255, 255, 0.95);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.3;
}
.preview__watermark span:first-child {
  color: #d4b89c;
  font-weight: 600;
}

.preview__industry-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.preview__industry-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  line-height: 1.15;
}
.preview__industry-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}
.preview__specs {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--color-surface-offset);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-6);
}
.preview__spec { display: flex; flex-direction: column; gap: 2px; }
.preview__spec-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}
.preview__spec-value {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.5;
}
.preview__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.preview__actions .btn { flex: 1; min-width: 140px; justify-content: center; }
.preview__disclaimer {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: 11px;
  color: var(--color-text-faint);
  line-height: 1.5;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-divider);
}
.preview__disclaimer svg { flex-shrink: 0; color: var(--color-text-faint); margin-top: 2px; }

/* ─── Custom Generator ─── */
.preview__custom {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  box-shadow: var(--shadow-lg);
}

.preview__custom-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}
.preview__custom-kicker {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.preview__custom-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: var(--space-3);
}
.preview__custom-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 560px;
}
.preview__custom-desc strong { color: var(--color-primary); }

.preview__custom-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: linear-gradient(135deg, var(--color-primary), #d4a574);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  animation: pulse-glow 2s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-primary) 40%, transparent); }
  50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--color-primary) 0%, transparent); }
}

.preview__custom-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.preview__custom-form .form-group { margin-bottom: var(--space-4); }
.preview__custom-fields .form-group { margin-bottom: 0; }

.preview__custom-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-6);
  margin-bottom: var(--space-4);
}
.preview__generate-btn {
  flex: 1;
  min-width: 200px;
  justify-content: center;
}

.preview__custom-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: 11px;
  color: var(--color-text-faint);
  line-height: 1.5;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-divider);
}
.preview__custom-note svg { flex-shrink: 0; margin-top: 2px; }

.preview__custom-result {
  margin-top: var(--space-6);
  padding: var(--space-8);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preview__custom-result[hidden] { display: none; }
.preview__custom-status { text-align: center; max-width: 400px; }
.preview__custom-status-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  margin: var(--space-4) 0 var(--space-2);
}
.preview__custom-status-hint {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.preview__spinner {
  width: 44px; height: 44px;
  margin: 0 auto;
  border: 3px solid var(--color-divider);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.preview__generated {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
  width: 100%;
}
.preview__generated-image-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.preview__generated-image { width: 100%; height: 100%; object-fit: cover; }
.preview__generated-info h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.preview__generated-info p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}
.preview__generated-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.preview__remaining-pill {
  display: inline-block;
  padding: 4px 10px;
  background: color-mix(in srgb, var(--color-primary) 12%, var(--color-bg));
  border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.preview__error {
  padding: var(--space-4);
  background: #fef2f2;
  border-left: 3px solid #dc2626;
  border-radius: var(--radius-sm);
  color: #7f1d1d;
  font-size: var(--text-sm);
  line-height: 1.6;
}
[data-theme="dark"] .preview__error {
  background: rgba(220, 38, 38, 0.1);
  color: #fca5a5;
}

/* ─── License Tiers ─── */
.license-tiers {
  padding: clamp(var(--space-12), 6vw, var(--space-20)) 0;
  background: var(--color-bg);
  scroll-margin-top: 100px;
}

.license-tiers__subtitle {
  max-width: 640px;
  margin: var(--space-4) auto 0;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.license-tiers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  max-width: 1200px;
  margin: var(--space-12) auto 0;
}

.license-tier {
  display: flex;
  flex-direction: column;
  padding: var(--space-8) var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.license-tier:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.license-tier--featured {
  background: var(--color-bg);
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}
.license-tier--featured:hover {
  transform: translateY(-11px);
}

.license-tier__ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  background: var(--color-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.license-tier__header {
  padding-bottom: var(--space-5);
  margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-divider);
}

.license-tier__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.license-tier__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  line-height: 1.1;
}

.license-tier__price {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--color-text-muted);
  margin: 0;
}

.license-tier--featured .license-tier__price {
  color: var(--color-primary);
  font-weight: 400;
}

.license-tier__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.license-tier__features li {
  position: relative;
  padding-left: 24px;
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.5;
}

.license-tier__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(-45deg);
}

.license-tier__cta {
  margin-bottom: var(--space-4);
}

.license-tier__cta .btn {
  width: 100%;
  justify-content: center;
}

.license-tier__note {
  font-size: 11px;
  color: var(--color-text-faint);
  line-height: 1.5;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-divider);
}

.license-tiers__bridge {
  max-width: 640px;
  margin: var(--space-10) auto 0;
  padding: var(--space-5) var(--space-6);
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
}

.license-tiers__bridge p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.license-tiers__bridge strong { color: var(--color-text); }

.license-tiers__bridge a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
}
.license-tiers__bridge a:hover { border-bottom-color: var(--color-primary); }

/* ─── Licensing Card ─── */
.licensing {
  padding: var(--space-16) 0 var(--space-20);
  background: var(--color-surface);
}

.licensing__card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-6), 4vw, var(--space-12));
}

.licensing__header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  padding-bottom: var(--space-6);
  margin-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-divider);
}

.licensing__header svg {
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 4px;
}

.licensing__kicker {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}

.licensing__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.1;
  margin: 0;
}

.licensing__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.licensing__section h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.licensing__section p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 720px;
}

.licensing__section p strong { color: var(--color-text); }

.licensing__section ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.licensing__section li {
  position: relative;
  padding-left: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.licensing__section li::before {
  content: '×';
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
}

.licensing__section a {
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
  transition: border-color 0.2s ease;
}
.licensing__section a:hover { border-bottom-color: var(--color-primary); }

.licensing__footer {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  line-height: 1.6;
}

.licensing__footer a {
  color: var(--color-text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--color-divider);
}
.licensing__footer a:hover { color: var(--color-primary); border-bottom-color: var(--color-primary); }

/* ─── Homepage AI Teaser (no images) ─── */
.ai-teaser {
  padding: clamp(var(--space-12), 6vw, var(--space-20)) 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

.ai-teaser__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.ai-teaser__kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: color-mix(in srgb, var(--color-primary) 12%, var(--color-bg));
  border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-6);
}

.ai-teaser__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: var(--space-5);
  letter-spacing: -0.01em;
}

.ai-teaser__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

.ai-teaser__actions {
  display: inline-flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: center;
}

.ai-teaser__note {
  margin-top: var(--space-6);
  font-size: 11px;
  color: var(--color-text-faint);
  letter-spacing: 0.05em;
}

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .preview__viewer { grid-template-columns: 1fr; }
  .license-tiers__grid { grid-template-columns: 1fr; max-width: 520px; }
  .license-tier--featured { transform: none; }
  .license-tier--featured:hover { transform: translateY(-3px); }
}

@media (max-width: 768px) {
  .page-hero { padding-top: calc(70px + var(--space-10)); padding-bottom: var(--space-10); }
  .page-hero__title { font-size: clamp(2.25rem, 5vw + 1rem, 3.5rem); }
  .page-hero__lede { font-size: var(--text-sm); }
  .licensing { padding: var(--space-10) 0 var(--space-12); }
  .licensing__header { flex-direction: column; gap: var(--space-3); }
}

@media (max-width: 700px) {
  .preview__custom-fields { grid-template-columns: 1fr; }
  .preview__generated { grid-template-columns: 1fr; }
  .preview__custom-header { flex-direction: column; align-items: flex-start; }
  .preview__custom-actions .btn { flex: 1 1 100%; }
}

@media (max-width: 600px) {
  .preview__tabs { gap: var(--space-1); }
  .preview__tab { padding: var(--space-2) var(--space-4); font-size: 10px; }
  .preview__actions .btn { flex: 1 1 100%; }
  .page-hero__badges { gap: 6px; }
  .page-hero__badge { font-size: 10px; padding: 4px 10px; }
}
