/* Extracted from lighthouse-app.html (UI redesign N1) — load order matters */
    /* LANDING STATE */
    /* ═══════════════════════════════════════ */
    
    .landing {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 40px 20px;
      position: relative;
      overflow: hidden;
    }
    .landing::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url('/static/ocean-bg-app.jpg') center/cover no-repeat;
      opacity: 0.22;
      filter: saturate(0.5) brightness(0.9);
      pointer-events: none;
    }
    .landing::after {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(232, 168, 48, 0.1) 0%, transparent 50%);
      pointer-events: none;
    }
    .landing > * { position: relative; z-index: 1; }
    
    /* Garet @font-face loaded from /static/tokens.css */

    .landing-logo {
      display: flex;
      align-items: flex-end;
      justify-content: center;
      gap: 0;
      margin-bottom: 12px;
    }

    .landing-logo-icon {
      width: 80px;
      flex-shrink: 0;
      margin-right: -6px;
      margin-bottom: -4px;
      opacity: 0;
      animation: logoFadeIn 1s ease-out 0.3s forwards;
    }

    .landing-logo-icon video {
      width: 100%;
      height: auto;
      display: block;
      mix-blend-mode: screen;
    }

    .landing-logo-text {
      opacity: 0;
      animation: logoFadeIn 1s ease-out 0.8s forwards;
    }

    .landing-logo-wordmark {
      font-family: 'Garet', system-ui, sans-serif;
      font-weight: 400;
      font-size: 72px;
      color: #ffffff;
      letter-spacing: 0.5px;
      line-height: 1;
    }

    .landing-beta-chip {
      display: inline-block;
      font-family: 'Garet', system-ui, sans-serif;
      font-weight: 800;
      font-size: 14px;
      letter-spacing: 1.5px;
      padding: 6px 18px;
      background: #7c6bc4;
      color: #ffffff;
      border-radius: 20px;
      margin-left: 10px;
      vertical-align: middle;
      opacity: 0;
      animation: logoFadeIn 0.6s ease-out 1.4s forwards;
    }

    @keyframes logoFadeIn {
      from { opacity: 0; transform: translateY(8px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .lighthouse-svg {
      width: 100%;
      height: 100%;
    }

    .lighthouse-video {
      width: 100%;
      height: 100%;
      object-fit: contain;
      mix-blend-mode: screen;
    }

    .lighthouse-video-small {
      width: 40px;
      height: 40px;
      object-fit: contain;
      mix-blend-mode: screen;
    }
    
    /* wordmark is now part of the intro video */
    
    .landing-tagline {
      font-size: 20px;
      color: var(--text-secondary);
      margin-bottom: 48px;
      text-align: center;
      max-width: 600px;
    }
    
    .landing-tagline span {
      color: var(--accent);
      font-weight: 600;
    }
    
    .url-input-container {
      width: 100%;
      max-width: 640px;
      position: relative;
    }
    
    .url-input-wrapper {
      display: flex;
      background: var(--bg-secondary);
      border: 2px solid var(--border);
      border-radius: var(--radius-xl);
      overflow: hidden;
      transition: border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: var(--shadow-lg), inset 0 1px 3px rgba(0, 0, 0, 0.15);
    }

    .url-input-wrapper:focus-within {
      border-color: var(--accent);
      box-shadow: var(--shadow-lg), 0 0 0 4px rgba(232, 168, 48, 0.1), 0 0 40px rgba(232, 168, 48, 0.08);
    }
    
    .url-input-prefix {
      padding: 20px;
      background: var(--bg-tertiary);
      color: var(--text-muted);
      font-size: 16px;
      border-right: 1px solid var(--border);
      display: flex;
      align-items: center;
      position: relative;
      cursor: pointer;
      user-select: none;
      gap: 4px;
    }
    
    .url-input {
      flex: 1;
      padding: 20px;
      background: transparent;
      border: none;
      color: var(--text-primary);
      font-size: 18px;
      font-family: inherit;
      outline: none;
    }
    
    .url-input::placeholder {
      color: var(--text-muted);
    }
    
    .analyze-btn {
      padding: 20px 32px;
      background: var(--accent);
      border: none;
      color: var(--bg-primary);
      font-size: 16px;
      font-weight: 600;
      font-family: inherit;
      cursor: pointer;
      transition: filter 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      white-space: nowrap;
      box-shadow: 0 4px 16px rgba(232, 168, 48, 0.25);
    }

    .analyze-btn:hover:not(:disabled) {
      filter: brightness(1.1);
      transform: translateY(-1px) scale(1.02);
      box-shadow: 0 6px 24px rgba(232, 168, 48, 0.35);
    }
    
    .analyze-btn:active:not(:disabled) {
      transform: translateY(0) scale(1);
      box-shadow: 0 2px 8px rgba(232, 168, 48, 0.2);
    }
    
    .analyze-btn:disabled {
      opacity: 0.6;
      cursor: not-allowed;
      box-shadow: none;
    }
    
    /* Advanced Options Styles */
    .advanced-toggle {
      background: var(--bg-tertiary);
      border: 1px solid var(--border);
      color: var(--text-secondary);
      padding: 12px 20px;
      border-radius: var(--radius-lg);
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      margin-top: 16px;
      transition: border-color 0.3s var(--ease-out), color 0.3s var(--ease-out), background 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
      display: flex;
      align-items: center;
      gap: 10px;
      width: 100%;
      justify-content: center;
      letter-spacing: 0.3px;
      font-family: inherit;
    }

    .advanced-toggle:hover {
      border-color: var(--accent);
      color: var(--accent);
      background: rgba(232, 168, 48, 0.04);
      transform: translateY(-1px);
      box-shadow: 0 4px 16px rgba(232, 168, 48, 0.08);
    }
    
    .advanced-toggle.active {
      border-color: var(--accent);
      color: var(--accent);
      background: rgba(232, 168, 48, 0.06);
      box-shadow: 0 0 0 1px rgba(232, 168, 48, 0.1), 0 4px 16px rgba(232, 168, 48, 0.06);
    }
    
    .advanced-toggle .adv-toggle-icon {
      transition: transform 0.3s var(--ease-out);
      font-size: 10px;
    }
    .advanced-toggle.active .adv-toggle-icon {
      transform: rotate(180deg);
    }
    
    .advanced-options-panel {
      background: var(--bg-tertiary);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      padding: 0;
      margin-top: 16px;
      text-align: left;
      animation: advSlideDown 0.35s var(--ease-out);
      overflow: hidden;
      box-shadow: var(--shadow-card, 0 1px 2px rgba(0,0,0,0.25), 0 4px 12px rgba(0,0,0,0.15));
    }
    
    @keyframes advSlideDown {
      from { opacity: 0; transform: translateY(-8px) scale(0.98); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }
    
    .adv-section {
      padding: 20px 24px;
      border-bottom: 1px solid var(--border);
    }
    .adv-section:last-child {
      border-bottom: none;
    }
    .adv-section-title {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--text-muted);
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .adv-section-title::before {
      content: '';
      width: 3px;
      height: 14px;
      border-radius: var(--radius-xs);
      background: var(--accent);
      flex-shrink: 0;
    }
    
    .advanced-options-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-bottom: 0;
    }
    @media(max-width:600px){.advanced-options-grid{grid-template-columns:1fr;}}
    
    .advanced-option-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    
    .advanced-label {
      font-size: 12px;
      font-weight: 600;
      color: var(--text-secondary);
      display: flex;
      align-items: center;
      gap: 6px;
      letter-spacing: 0.2px;
    }
    
    .advanced-select {
      padding: 11px 14px;
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      color: var(--text-primary);
      font-size: 13px;
      cursor: pointer;
      font-family: inherit;
      transition: border-color 0.2s, box-shadow 0.2s;
      -webkit-appearance: none;
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b949e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 12px center;
      padding-right: 34px;
    }

    .advanced-select:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(232, 168, 48, 0.08);
    }
    .advanced-select:hover {
      border-color: rgba(139,148,158,0.4);
    }
    
    .url-count-display {
      padding: 11px 14px;
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      font-size: 13px;
      color: var(--text-primary);
      display: flex;
      align-items: center;
    }
    
    .url-count-display .separator {
      color: var(--text-muted);
      margin: 0 8px;
    }
    
    .custom-urls-section {
      margin-bottom: 0;
    }
    
    .custom-urls-textarea {
      width: 100%;
      padding: 12px 14px;
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      color: var(--text-primary);
      font-size: 13px;
      font-family: 'IBM Plex Mono', 'JetBrains Mono', monospace;
      resize: vertical;
      margin-top: 8px;
      line-height: 1.6;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .custom-urls-textarea:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(232, 168, 48, 0.08);
    }
    .custom-urls-textarea:hover {
      border-color: rgba(139,148,158,0.4);
    }
    .custom-urls-textarea::placeholder {
      color: var(--text-muted);
      opacity: 0.6;
    }
    
    .file-upload-area {
      border: 2px dashed rgba(139,148,158,0.25);
      border-radius: var(--radius-lg);
      padding: 18px;
      text-align: center;
      margin-top: 12px;
      cursor: pointer;
      transition: border-color 0.25s, background 0.25s, transform 0.25s;
      background: rgba(0,0,0,0.1);
    }

    .file-upload-area:hover,
    .file-upload-area.dragover {
      border-color: var(--accent);
      background: rgba(232, 168, 48, 0.04);
      transform: translateY(-1px);
    }
    
    .file-upload-content {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      color: var(--text-secondary);
      font-size: 13px;
    }
    
    .file-upload-icon {
      font-size: 20px;
    }
    
    .file-upload-area a {
      color: var(--accent);
      text-decoration: none;
      font-weight: 600;
    }
    
    .file-upload-area a:hover {
      text-decoration: underline;
    }
    
    .template-download-btn {
      background: transparent;
      border: 1px solid var(--border);
      color: var(--text-secondary);
      padding: 8px 16px;
      border-radius: var(--radius-md);
      font-size: 12px;
      cursor: pointer;
      margin-top: 12px;
      transition: border-color 0.2s, color 0.2s, background 0.2s;
      font-family: inherit;
      font-weight: 500;
    }

    .template-download-btn:hover {
      border-color: var(--accent);
      color: var(--accent);
      background: rgba(232, 168, 48, 0.04);
    }
    
    .deep-analysis-section {
      padding-top: 0;
      border-top: none;
    }
    
    .advanced-hint {
      font-size: 11px;
      color: var(--text-muted);
      margin: 6px 0 12px;
      line-height: 1.5;
    }
    
    .deep-analysis-list {
      max-height: 200px;
      overflow-y: auto;
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 8px;
    }
    
    .deep-analysis-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 9px 12px;
      border-radius: var(--radius-md);
      transition: background 0.2s;
    }
    
    .deep-analysis-item:hover {
      background: rgba(255,255,255,0.04);
    }
    
    .deep-analysis-item input[type="checkbox"] {
      accent-color: var(--accent);
      width: 16px;
      height: 16px;
      cursor: pointer;
      border-radius: var(--radius-xs);
    }
    
    .deep-analysis-item label {
      font-size: 12px;
      color: var(--text-secondary);
      cursor: pointer;
      flex: 1;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      line-height: 1.4;
    }
    
    /* ─── Prefix Dropdown ─── */
    .prefix-chevron {
      font-size: 10px;
      opacity: 0.5;
      transition: transform 0.2s;
    }
    .prefix-dropdown-open .prefix-chevron {
      transform: rotate(180deg);
    }
    .prefix-dropdown {
      position: absolute;
      top: 100%;
      left: 0;
      min-width: 180px;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      box-shadow: 0 8px 32px rgba(0,0,0,0.3);
      z-index: 100;
      overflow: hidden;
      display: none;
      animation: advSlideDown 0.2s ease;
    }
    .prefix-dropdown.visible { display: block; }
    .prefix-dropdown-item {
      padding: 12px 16px;
      font-size: 13px;
      color: var(--text-primary);
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 10px;
      transition: background 0.15s;
      border: none;
      background: none;
      width: 100%;
      font-family: inherit;
    }
    .prefix-dropdown-item:hover {
      background: rgba(232, 168, 48, 0.06);
    }
    .prefix-dropdown-item.active {
      color: var(--accent);
    }
    .prefix-dropdown-item + .prefix-dropdown-item {
      border-top: 1px solid var(--border);
    }
    .customize-analysis-link {
      display: none;
      margin-top: 12px;
      font-size: 13px;
      color: var(--text-secondary);
      cursor: pointer;
      background: none;
      border: none;
      font-family: inherit;
      transition: color 0.2s;
      padding: 0;
    }
    .customize-analysis-link:hover {
      color: var(--accent);
    }
    /* ─── Analysis Wizard ─── */
    .wizard-overlay {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: var(--bg-primary);
      z-index: 2500;
      display: none;
      flex-direction: column;
      align-items: center;
      overflow-y: auto;
    }
    .wizard-overlay.visible { display: flex; }
    .wizard-container {
      width: 100%;
      max-width: 720px;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
      padding: 0 24px;
    }
    .wizard-header {
      position: sticky;
      top: 0;
      background: var(--bg-primary);
      z-index: 10;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 0;
      border-bottom: 1px solid var(--border);
    }
    .wizard-header h2 {
      margin: 0;
      font-size: 18px;
      color: var(--text-primary);
      font-weight: 600;
    }
    .wizard-header-right {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .wizard-skip-btn {
      background: none;
      border: none;
      color: var(--text-muted);
      font-size: 13px;
      cursor: pointer;
      font-family: inherit;
      text-decoration: underline;
      text-underline-offset: 2px;
      transition: color 0.2s;
      padding: 0;
    }
    .wizard-skip-btn:hover { color: var(--accent); }
    .wizard-close-btn {
      background: none;
      border: none;
      color: var(--text-muted);
      font-size: 24px;
      cursor: pointer;
      padding: 0;
      line-height: 1;
    }
    .wizard-close-btn:hover { color: var(--text-primary); }
    .wizard-stepper {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px 0 8px;
      gap: 0;
    }
    .wizard-step-indicator {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      cursor: pointer;
      position: relative;
    }
    .wizard-step-dot {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--bg-secondary);
      border: 2px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      font-weight: 600;
      color: var(--text-muted);
      transition: border-color 0.3s, color 0.3s, box-shadow 0.3s, background 0.3s;
    }
    .wizard-step-indicator.active .wizard-step-dot {
      border-color: var(--accent);
      color: var(--accent);
      box-shadow: 0 0 12px rgba(232, 168, 48, 0.25);
    }
    .wizard-step-indicator.completed .wizard-step-dot {
      background: var(--accent-green);
      border-color: var(--accent-green);
      color: #fff;
    }
    .wizard-step-label {
      font-size: 11px;
      color: var(--text-muted);
      white-space: nowrap;
    }
    .wizard-step-indicator.active .wizard-step-label { color: var(--accent); }
    .wizard-step-indicator.completed .wizard-step-label { color: var(--accent-green); }
    .wizard-step-connector {
      width: 40px;
      height: 2px;
      background: var(--border);
      margin: 0 4px;
      margin-bottom: 18px;
      transition: background 0.3s;
    }
    .wizard-step-connector.completed { background: var(--accent-green); }
    .wizard-body {
      flex: 1;
      padding: 24px 0;
    }
    .wizard-step-panel {
      display: none;
      animation: wizardFadeIn 150ms ease;
    }
    .wizard-step-panel.active { display: block; }
    .wizard-step-panel.wizard-fade-out {
      display: block;
      animation: wizardFadeOut 150ms ease forwards;
    }
    @keyframes wizardFadeIn {
      from { opacity: 0; transform: translateY(6px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes wizardFadeOut {
      from { opacity: 1; transform: translateY(0); }
      to { opacity: 0; transform: translateY(-6px); }
    }
    .wizard-step-panel h3 {
      font-size: 22px;
      font-weight: 600;
      color: var(--text-primary);
      margin: 0 0 6px;
    }
    .wizard-guidance {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.5;
      margin-bottom: 24px;
    }
    .wizard-field { margin-bottom: 20px; }
    .wizard-field-label {
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: var(--text-secondary);
      margin-bottom: 8px;
      display: block;
    }
    .wizard-input {
      width: 100%;
      padding: 12px 14px;
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      color: var(--text-primary);
      font-size: 14px;
      font-family: inherit;
      transition: border-color 0.2s, box-shadow 0.2s;
      box-sizing: border-box;
    }
    .wizard-input:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(232, 168, 48, 0.08);
    }
    .wizard-input::placeholder { color: var(--text-muted); opacity: 0.6; }
    .wizard-input-hint {
      font-size: 11px;
      color: var(--text-muted);
      margin-top: 6px;
    }
    .wizard-tag-input-wrapper {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      padding: 8px 10px;
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      min-height: 44px;
      align-items: center;
      transition: border-color 0.2s, box-shadow 0.2s;
      cursor: text;
    }
    .wizard-tag-input-wrapper:focus-within {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(232, 168, 48, 0.08);
    }
    .wizard-tag {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      background: rgba(232, 168, 48, 0.1);
      border: 1px solid rgba(232, 168, 48, 0.2);
      color: var(--accent);
      padding: 5px 10px;
      border-radius: var(--radius-sm);
      font-size: 13px;
      font-weight: 500;
    }
    .wizard-tag-remove {
      cursor: pointer;
      opacity: 0.7;
      font-size: 14px;
      line-height: 1;
      margin-left: 2px;
    }
    .wizard-tag-remove:hover { opacity: 1; }
    .wizard-tag-input {
      border: none;
      background: none;
      color: var(--text-primary);
      font-size: 13px;
      font-family: inherit;
      outline: none;
      flex: 1;
      min-width: 100px;
      padding: 2px 4px;
    }
    .wizard-tag-input::placeholder { color: var(--text-muted); opacity: 0.5; }
    .wizard-pages-toolbar {
      display: flex;
      gap: 12px;
      margin-bottom: 12px;
      align-items: center;
    }
    .wizard-pages-toolbar button {
      background: none;
      border: none;
      color: var(--accent);
      font-size: 12px;
      cursor: pointer;
      font-family: inherit;
      padding: 0;
    }
    .wizard-pages-toolbar button:hover { text-decoration: underline; }
    .wizard-pages-toolbar span {
      font-size: 12px;
      color: var(--text-muted);
    }
    .wizard-pages-list {
      max-height: 320px;
      overflow-y: auto;
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 8px;
    }
    .wizard-page-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 10px;
      border-radius: var(--radius-md);
      transition: background 0.15s;
    }
    .wizard-page-item:hover { background: rgba(255,255,255,0.04); }
    .wizard-page-item input[type="checkbox"] {
      accent-color: var(--accent);
      width: 16px;
      height: 16px;
      cursor: pointer;
      flex-shrink: 0;
    }
    .wizard-page-item label {
      font-size: 13px;
      color: var(--text-secondary);
      cursor: pointer;
      flex: 1;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .wizard-pages-loading {
      padding: 24px;
      text-align: center;
      color: var(--text-muted);
      font-size: 13px;
    }
    .wizard-pages-loading .spinner {
      display: inline-block;
      width: 20px;
      height: 20px;
      border: 2px solid var(--border);
      border-top-color: var(--accent);
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
      margin-bottom: 8px;
    }
    @keyframes spin { to { transform: rotate(360deg); } }
    .wizard-add-url-row {
      display: flex;
      gap: 8px;
      margin-top: 16px;
    }
    .wizard-add-url-row input { flex: 1; }
    .wizard-add-url-row button {
      padding: 10px 16px;
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      color: var(--text-primary);
      font-size: 13px;
      cursor: pointer;
      font-family: inherit;
      white-space: nowrap;
      transition: border-color 0.2s, color 0.2s;
    }
    .wizard-add-url-row button:hover { border-color: var(--accent); color: var(--accent); }
    .wizard-suggestion-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 16px;
    }
    .wizard-suggestion-chip {
      padding: 6px 14px;
      background: transparent;
      border: 1px dashed var(--border);
      border-radius: 20px;
      color: var(--text-secondary);
      font-size: 13px;
      cursor: pointer;
      font-family: inherit;
      transition: border-color 0.2s, color 0.2s;
    }
    .wizard-suggestion-chip:hover {
      border-color: var(--accent);
      color: var(--accent);
      border-style: solid;
    }
    .wizard-suggestion-chip.added {
      opacity: 0.4;
      pointer-events: none;
      text-decoration: line-through;
    }
    .wizard-competitor-list { margin-bottom: 16px; }
    .wizard-competitor-entry {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 14px;
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      margin-bottom: 8px;
    }
    .wizard-competitor-entry .comp-name {
      font-size: 14px;
      color: var(--text-primary);
      font-weight: 500;
      flex: 1;
    }
    .wizard-competitor-entry .comp-url {
      font-size: 12px;
      color: var(--text-muted);
      max-width: 200px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .wizard-competitor-entry .comp-badge {
      font-size: 10px;
      padding: 2px 8px;
      border-radius: 10px;
      background: rgba(16, 185, 129, 0.1);
      color: #10b981;
      border: 1px solid rgba(16, 185, 129, 0.2);
      white-space: nowrap;
    }
    .wizard-competitor-entry .comp-remove {
      background: none;
      border: none;
      color: var(--text-muted);
      font-size: 18px;
      cursor: pointer;
      padding: 0 4px;
      line-height: 1;
    }
    .wizard-competitor-entry .comp-remove:hover { color: var(--accent-red); }
    .wizard-add-competitor-row {
      display: flex;
      gap: 8px;
      align-items: center;
    }
    .wizard-add-competitor-row input { flex: 1; }
    .wizard-add-competitor-row input:first-child { flex: 1.2; }
    .wizard-add-competitor-row button {
      padding: 10px 16px;
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      color: var(--text-primary);
      font-size: 13px;
      cursor: pointer;
      font-family: inherit;
      white-space: nowrap;
      transition: border-color 0.2s, color 0.2s;
    }
    .wizard-add-competitor-row button:hover { border-color: var(--accent); color: var(--accent); }
    .wizard-focus-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 20px;
    }
    .wizard-focus-pill {
      padding: 10px 20px;
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      color: var(--text-secondary);
      font-size: 14px;
      cursor: pointer;
      font-family: inherit;
      transition: border-color 0.2s, color 0.2s, background 0.2s;
    }
    .wizard-focus-pill:hover { border-color: var(--accent-purple); color: var(--accent-purple); }
    .wizard-focus-pill.active {
      background: rgba(168, 85, 247, 0.12);
      border-color: var(--accent-purple);
      color: var(--accent-purple);
      font-weight: 500;
    }
    .wizard-focus-items-section {
      display: none;
      margin-bottom: 20px;
    }
    .wizard-focus-items-section.visible { display: block; }
    .wizard-review-cards {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .wizard-review-card {
      padding: 16px 20px;
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      cursor: pointer;
      transition: border-color 0.2s, background 0.2s;
    }
    .wizard-review-card:hover {
      border-color: var(--accent);
      background: rgba(232, 168, 48, 0.03);
    }
    .wizard-review-card h4 {
      font-size: 13px;
      font-weight: 600;
      color: var(--text-primary);
      margin: 0 0 6px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .wizard-review-card h4 .edit-hint {
      font-size: 11px;
      font-weight: 400;
      color: var(--text-muted);
      margin-left: auto;
    }
    .wizard-review-card p {
      font-size: 13px;
      color: var(--text-secondary);
      margin: 0;
      line-height: 1.5;
    }
    .wizard-review-card .review-empty {
      color: var(--text-muted);
      font-style: italic;
    }
    .wizard-footer {
      position: sticky;
      bottom: 0;
      background: var(--bg-primary);
      border-top: 1px solid var(--border);
      padding: 16px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .wizard-footer-center {
      font-size: 12px;
      color: var(--text-muted);
    }
    .wizard-btn-back {
      padding: 10px 20px;
      background: transparent;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      color: var(--text-secondary);
      font-size: 14px;
      cursor: pointer;
      font-family: inherit;
      transition: border-color 0.2s, color 0.2s;
      visibility: visible;
    }
    .wizard-btn-back:hover { border-color: var(--text-muted); color: var(--text-primary); }
    .wizard-btn-back.hidden { visibility: hidden; }
    .wizard-btn-next {
      padding: 10px 24px;
      background: var(--accent);
      border: none;
      border-radius: var(--radius-lg);
      color: #fff;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      font-family: inherit;
      transition: transform 0.2s, box-shadow 0.2s;
    }
    .wizard-btn-next:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232, 168, 48, 0.2); }
    @media(max-width:600px) {
      .wizard-step-label { display: none; }
      .wizard-step-connector { width: 24px; }
      .wizard-step-dot { width: 28px; height: 28px; font-size: 12px; }
      .wizard-focus-pills { flex-direction: column; }
      .wizard-add-competitor-row { flex-direction: column; }
      .wizard-add-url-row { flex-direction: column; }
      .wizard-container { padding: 0 16px; }
    }
    .brand-only-notice {
      display: none;
      padding: 16px;
      background: rgba(232, 168, 48, 0.04);
      border: 1px solid rgba(232, 168, 48, 0.15);
      border-radius: var(--radius-lg);
      font-size: 13px;
      color: var(--text-secondary);
      line-height: 1.5;
      text-align: center;
    }

    .landing-features {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      margin-top: 64px;
      max-width: 900px;
      width: 100%;
    }
    
    .landing-feature {
      text-align: center;
      padding: 24px 16px;
    }
    
    .landing-feature-icon {
      font-size: 32px;
      margin-bottom: 12px;
    }
    
    .landing-feature h3 {
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 6px;
    }
    
    .landing-feature p {
      font-size: 12px;
      color: var(--text-muted);
    }
    
    @media (max-width: 768px) {
      .landing-features {
        grid-template-columns: repeat(2, 1fr);
      }
      .url-input-prefix {
        display: none;
      }
    }
    
    /* ═══════════════════════════════════════ */
