/* Website design-system mirror: design-system/DESIGN.md and surfaces/website.
   The imported stylesheet supplies layout; this file owns ILVC visual treatment. */
@font-face { font-family: Inter; src: url('./fonts/inter-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url('./fonts/inter-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Inter; src: url('./fonts/inter-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('./fonts/jetbrains-mono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('./fonts/jetbrains-mono-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url('./fonts/space-grotesk-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
:root {
  color-scheme: light;
  --bg-primary: #fff; --bg-secondary: #fff; --bg-tertiary: #fff;
  --text-primary: #0a0a0a; --text-secondary: #666;
  --accent: #0a0a0a; --accent-hover: #333; --success: #0a0a0a;
  --error: #a5000b; --warning: #666; --border: rgb(10 10 10 / 20%);
  --radius-sm: 10px; --radius-md: 20px; --radius-lg: 20px; --radius-xl: 32px;
  --input-bg: #fff; --surface-strong: #fff; --link: #0a0a0a;
  --heading-color: #0a0a0a; --gradient-hero: none;
  --shadow-sm: none; --shadow-md: none; --shadow-lg: none;
}
* { font-family: inherit; }
body { background: #fff; color: #0a0a0a; font-family: Inter, sans-serif; font-size: 16px; line-height: 26px; }
a { color: inherit; text-underline-offset: 3px; }
.container { max-width: 1192px; padding: 0 20px; margin: 0 auto; }
.app-shell { display: flex; flex-direction: column; gap: 32px; padding-top: 64px; padding-bottom: 80px; animation: none; }
.tool-intro { display: flex; flex-direction: column; gap: 20px; padding: 0 0 16px; background: none; border: 0; border-radius: 0; box-shadow: none; margin: 0; }
.eyebrow { margin: 0; font: 400 12px/18px 'JetBrains Mono', monospace; letter-spacing: .08em; color: #0a0a0a; }
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; }
h1 { margin: 0; font-size: 72px; line-height: 75px; letter-spacing: -.055em; }
h2 { margin: 0; font-size: 32px; line-height: 36px; letter-spacing: -.03em; }
.subtitle { max-width: 720px; margin: 0; font-size: 18px; line-height: 29px; }
p { margin: 0; }
.tool-privacy { margin: 0; color: #666; font-size: 14px; line-height: 22px; }
.card { margin: 0; padding: 32px; border: 2px solid #0a0a0a; border-radius: 20px; box-shadow: none; transition: none; }
.card:hover { box-shadow: none; }
#analyze-section, .credentials-card { display: flex; flex-direction: column; gap: 20px; }
#analyzeForm { gap: 16px; }
#analyzeForm input { flex: 1; min-width: 0; }
#analyzeForm button { flex-shrink: 0; background: #f4ff3d; color: #0a0a0a; gap: 20px; }
#analyzeForm button:hover { background: #e7f22f; }
.card-heading-row { margin: 0; gap: 12px; }
.credentials-card > .muted { margin: 0; }
.mode-badge { padding: 8px 16px; background: #fff; color: #666; border: 1px solid var(--border); font: 400 12px/18px 'JetBrains Mono', monospace; text-transform: uppercase; }
input, select, textarea, button, .key-row input { border: 2px solid #0a0a0a; box-shadow: none; background: #fff; color: #0a0a0a; }
input, select, .key-row input { height: 56px; border-radius: 999px; padding: 0 24px; font: 400 16px/26px 'JetBrains Mono', monospace; min-width: 0; }
input::placeholder, textarea::placeholder { font-size: 14px; color: #666; opacity: 1; }
button { display: inline-flex; justify-content: center; align-items: center; min-height: 56px; border-radius: 999px; padding: 0 28px; font: 700 14px/21px 'JetBrains Mono', monospace; background: #fff; color: #0a0a0a; transition: background-color 150ms; }
button.secondary, button.icon-btn { background: #fff; color: #0a0a0a; border: 2px solid #0a0a0a; }
button:hover, button:active { transform: none; box-shadow: none; background: #f4ff3d; }
button.secondary:hover, button.icon-btn:hover { background: #f4ff3d; }
button:disabled { opacity: .5; cursor: not-allowed; }
button:disabled:hover { background: #fff; }
#analyzeForm button:disabled:hover { background: #f4ff3d; }
input:focus, select:focus, textarea:focus, button:focus, a:focus, summary:focus { border-color: #0a0a0a; box-shadow: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, textarea:focus-visible { outline: 2px solid #0a0a0a; outline-offset: 4px; }
textarea { min-height: 160px; border-radius: 20px; padding: 16px 20px; font: 400 14px/23px 'JetBrains Mono', monospace; }
.accordion { margin: 0; border: 1px solid var(--border); border-radius: 20px; background: #fff; }
.accordion summary { padding: 20px 24px; gap: 24px; font: 700 18px/24px Inter, sans-serif; }
.accordion-title { gap: 0; min-width: 0; }
.key-icon { display: none; }
.accordion-right { gap: 24px; flex-shrink: 0; }
.key-preview { font: 400 14px/21px 'JetBrains Mono', monospace; }
.chevron { color: #0a0a0a; width: 20px; text-align: center; }
.accordion-body { padding: 24px; gap: 16px; border-top: 1px solid var(--border); background: #fff; }
.key-row { gap: 12px; }
.key-row input { width: 0; }
.icon-btn { flex: 0 0 56px; width: 56px; height: 56px; padding: 0; }
.icon-btn-svg { width: 20px; height: 20px; filter: none; opacity: 1; }
.key-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.save-btn { margin: 0; align-self: auto; }
.small { font-size: 14px; line-height: 22px; }
.status:empty, .analysis:empty, .image-preview:empty, .hosted-url:empty { display: none; }
.status { margin: 0; }
.status:not(:empty) { margin-top: 8px; }
.card-collapsible { padding: 0; border-radius: 20px; }
.workflow-accordion summary { padding: 24px 32px; gap: 24px; }
.workflow-accordion summary h2 { font-size: 22px; line-height: 28px; letter-spacing: -.02em; }
.workflow-accordion summary::after { color: #0a0a0a; flex: 0 0 24px; text-align: center; }
.workflow-accordion-body { display: flex; flex-direction: column; gap: 24px; padding: 0 32px 24px; border: 0; }
.workflow-accordion-body > * { margin: 0; }
.workflow-accordion-body p { font-size: 16px; line-height: 26px; }
.key-notice { padding: 0; background: none; border: 0; color: #0a0a0a; box-shadow: none; }
.notice-icon { display: none; }
.row, .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.prompt-label, .generation-selectors label { font: 700 16px/24px Inter, sans-serif; }
.prompt-label { margin-bottom: -12px; }
.generation-selectors { flex-wrap: nowrap; gap: 20px; }
.generation-selectors label { display: flex; flex-direction: column; gap: 12px; min-width: 0; flex: 1; }
.generation-selectors label:first-child { flex: 1.6; }
.generation-selectors label:last-child { flex: 1; }
select { padding: 0 40px 0 20px; appearance: none; background: #fff url('./icons/chevron-down.svg') no-repeat right 18px center / 18px; }
#generationPresetText { font-size: 14px; line-height: 22px; }
#generateImageBtn, #retryGenerateImageBtn { align-self: flex-start; }
#faq-section, #resource-links-section { border: 0; border-radius: 0; padding: 16px 0 0; background: none; }
#faq-section h2 { margin-bottom: 24px; }
#faq-section details { padding: 20px 0; border-bottom: 1px solid var(--border); }
#faq-section details + details { margin-top: 12px; }
#faq-section summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; cursor: pointer; min-height: 44px; font-weight: 700; }
#faq-section summary::-webkit-details-marker { display: none; }
#faq-section summary::after { content: '+'; flex: 0 0 24px; text-align: center; font-size: 20px; font-weight: 400; }
#faq-section details[open] summary::after { content: '−'; }
#faq-section p { margin: 12px 0 0; max-width: 960px; color: #666; }
#resource-links-section h2 { font-size: 22px; line-height: 28px; margin-bottom: 16px; }
.resource-links { display: flex; flex-wrap: wrap; gap: 16px 32px; }
.public-header { min-height: 88px; padding: 0 max(20px, calc((100% - 1152px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #0a0a0a33; }
.public-header a { text-decoration: none; }
.public-brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; font: 700 14px/20px 'JetBrains Mono', monospace; letter-spacing: .06em; text-transform: uppercase; }
.public-desktop-nav { display: flex; gap: 28px; }
.public-desktop-nav a { display: flex; align-items: center; min-height: 44px; font: 700 12px/18px 'JetBrains Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
.public-mobile-menu { display: none; position: relative; }
.menu-close-icon { display: none; }
.public-mobile-menu[open] .menu-open-icon { display: none; }
.public-mobile-menu[open] .menu-close-icon { display: block; }
.site-footer { width: 100%; margin: 0; padding: 32px max(20px, calc((100% - 1152px) / 2)); background: #fff; border-top: 1px solid var(--border); }
.footer-inner { max-width: none; padding: 0; margin: 0; }
.footer-top { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-brand { margin-right: auto; color: #0a0a0a; text-decoration: none; }
.footer-brand-text { font: 700 18px/24px 'Space Grotesk', sans-serif; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-nav a, .footer-cta a { font: 400 12px/18px 'JetBrains Mono', monospace; text-transform: uppercase; color: #0a0a0a; min-height: 44px; display: inline-flex; align-items: center; }
.footer-cta { display: flex; gap: 24px; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.footer-social-icon { width: 20px; height: 20px; color: #0a0a0a; }
.footer-bottom { border: 0; margin-top: 24px; padding: 0; color: #666; text-align: left; }
.footer-bottom p { margin: 0 0 16px; font-size: 14px; line-height: 22px; }
.footer-bottom p:first-child { font: 400 12px/18px 'JetBrains Mono', monospace; text-transform: uppercase; }
.footer-bottom a { color: #666; }
.progress .bar { background: #0a0a0a; }
@media (max-width: 767px) {
  .app-shell { padding-top: 40px; padding-bottom: 48px; gap: 24px; }
  .tool-intro { gap: 16px; padding-bottom: 8px; }
  h1 { font-size: 40px; line-height: 42px; letter-spacing: -.045em; }
  h2 { font-size: 26px; line-height: 30px; }
  .subtitle { font-size: 16px; line-height: 26px; }
  .card { padding: 20px; border-radius: 20px; }
  #analyzeForm, .key-actions, .workflow-accordion-body .row, .actions { flex-direction: column; align-items: stretch; gap: 12px; }
  #analyzeForm input { flex: auto; }
  .card-heading-row { flex-direction: column; align-items: flex-start; }
  .accordion summary { padding: 16px; flex-direction: column; align-items: stretch; gap: 12px; }
  .accordion-right { justify-content: space-between; }
  .accordion-body { padding: 16px; }
  .key-row input { padding: 0 16px; }
  .key-actions button, .workflow-accordion-body button { width: 100%; padding: 0 16px; }
  .workflow-accordion-body .small { font-size: 14px; line-height: 22px; }
  .card-collapsible { padding: 0; border-radius: 20px; }
  .workflow-accordion summary { padding: 20px; }
  .workflow-accordion-body { padding: 0 20px 20px; gap: 20px; }
  .generation-selectors label { flex: auto; width: 100%; }
  #providerSelect { height: 56px; border-radius: 999px; }
  .resource-links { flex-direction: column; gap: 12px; }
  .site-footer { padding: 24px 20px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-nav { gap: 16px; }
  .footer-cta, .footer-social { justify-content: flex-start; }
}
@media (max-width: 599px) {
  .public-header { min-height: 77px; }
  .public-desktop-nav { display: none; }
  .public-mobile-menu { display: block; }
  .public-mobile-menu summary { width: 44px; height: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; list-style: none; cursor: pointer; }
  .public-mobile-menu summary::-webkit-details-marker { display: none; }
  .public-mobile-menu nav { position: absolute; z-index: 10; right: 0; top: 60px; width: min(353px, calc(100vw - 40px)); padding: 24px 28px; background: #fff; border: 2px solid #0a0a0a; display: flex; flex-direction: column; gap: 12px; max-height: calc(100svh - 88px); overflow: auto; }
  .public-mobile-menu nav a { display: flex; align-items: center; min-height: 44px; font: 700 24px/32px 'JetBrains Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
}
@media (max-width: 352px) { .container { padding-left: 16px; padding-right: 16px; } .public-header { padding-left: 16px; padding-right: 16px; } .public-brand { font-size: 12px; } .card { padding: 16px; } .card-collapsible { padding: 0; } .key-row { gap: 8px; } .icon-btn { flex-basis: 44px; width: 44px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* Reset the imported full-bleed footer and icon overrides. */
.site-footer { left: auto; right: auto; position: static; border-bottom: 0; }
.key-row .icon-btn { width: 56px; min-width: 56px; height: 56px; flex: 0 0 56px; border-radius: 999px; }
.key-notice .notice-icon { display: none; }
.key-notice a { color: #0a0a0a; }
.generation-selectors label { color: #0a0a0a; }
@media (max-width: 352px) { .key-row .icon-btn { width: 44px; min-width: 44px; flex-basis: 44px; } }
.credentials-card > .muted, .analyze-description { font-size: 16px; line-height: 26px; }
.key-notice { font-size: 16px; line-height: 26px; }

/* Result states use the public website surface, including dynamic analysis. */
.recommendation-card[class], .pathway-card[class], .analysis .item, .social-tags .social-zone[class] {
  border: 2px solid #0a0a0a; border-radius: 20px; background: #fff;
  box-shadow: none; transform: none; animation: none;
}
.recommendation-card[class] { padding: 24px; }
.pathway-grid { gap: 16px; }
.pathway-card[class] { padding: 16px; gap: 16px; transition: none; }
.pathway-top, .recommendation-header, .social-tags .social-tags-header-row, .social-tags .social-zone-header { flex-wrap: wrap; gap: 16px; }
.pathway-top h3 { font: 700 18px/24px 'Space Grotesk', sans-serif; letter-spacing: -.01em; }
.pathway-card .pathway-chip, .pathway-card .pathway-recommended, .recommendation-state-chip[class], .social-tags .experimental-badge {
  color: #0a0a0a; background: #fff; border: 1px solid var(--border);
  font: 400 12px/18px 'JetBrains Mono', monospace; padding: 8px 16px;
  white-space: normal; overflow-wrap: anywhere;
}
.pathway-card .pathway-recommended { border: 2px solid #0a0a0a; font-weight: 700; }
.pathway-card .pathway-best-for, .pathway-list, .recommendation-note, .social-tags .social-zone-kicker,
.social-tags .social-hint, .social-tags details summary { font-size: 14px; line-height: 22px; }
.pathway-card .pathway-best-for, .pathway-card .pathway-details, .pathway-card .pathway-recommended { margin-top: 0; margin-bottom: 0; }
.pathway-details summary { min-height: 44px; font-size: 14px; line-height: 22px; padding: 12px 16px; }
.pathway-list { margin: 8px 16px 16px 32px; }
.pathway-card .pathway-cta[class] {
  min-height: 56px; border-radius: 999px; border: 2px solid #0a0a0a;
  background: #fff; color: #0a0a0a; box-shadow: none; filter: none;
  font: 700 14px/21px 'JetBrains Mono', monospace; padding: 12px 24px;
}
.pathway-card .pathway-cta[class]:hover, .social-tags .platform-chip-btn:hover { background: #f4ff3d; box-shadow: none; transform: none; }
.social-tags .platform-chip-btn { min-height: 44px; padding: 10px 16px; font: 700 14px/21px 'JetBrains Mono', monospace; border: 2px solid #0a0a0a; color: #0a0a0a; background: #fff; transition: background-color 150ms; }
.social-tags .platform-chip-btn:focus-visible { outline: 2px solid #0a0a0a; outline-offset: 4px; }
.social-tags .subsection.platform-subsection-focus { background: #fff; box-shadow: none; outline: 2px solid #0a0a0a; outline-offset: 4px; }
.analysis .item.item-metrics-row { flex-wrap: wrap; gap: 16px; }
.analysis .item.item-metrics-row .metric-inline { flex-wrap: wrap; white-space: normal; gap: 8px; }
.analysis .item.item-metrics-row .metric-inline span { white-space: normal; overflow-wrap: anywhere; }
.social-tags .social-tags-score { white-space: normal; font-size: 14px; line-height: 22px; }
.status { font-size: 14px; line-height: 22px; }
.status[data-type='error'] { color: #a5000b; font-weight: 700; }
input[aria-invalid='true'], textarea[aria-invalid='true'] { border-color: #ff4d57; }
.toast[class] { background: #fff; color: #0a0a0a; border: 2px solid #0a0a0a; box-shadow: none; backdrop-filter: none; font-size: 14px; line-height: 22px; }
.toast .toast-action { min-height: 44px; border: 2px solid #0a0a0a; background: #fff; color: #0a0a0a; font: 700 14px/21px 'JetBrains Mono', monospace; }
.toast .toast-action:hover { background: #f4ff3d; }
@media (max-width: 767px) {
  .generation-selectors { flex-direction: column; gap: 24px; }
  .recommendation-card[class] { padding: 16px; }
  .pathway-top { flex-direction: column; align-items: flex-start; }
  .recommendation-state-chip { margin-left: 0; }
}
