/* TC008 Web Image Flow — components (technical mono/breakpoint aesthetic) */
@layer tenant {
  .tenant-body--website-image-platform .wif-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--wif-surface);
    border-bottom: 1px solid var(--wif-border);
    box-shadow: 0 1px 0 var(--wif-grid);
  }

  .tenant-body--website-image-platform .wif-header__inner {
    max-width: var(--wif-max-width);
    margin: 0 auto;
    padding: 0.55rem var(--wif-gutter);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .tenant-body--website-image-platform .wif-brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: inherit;
    font-family: var(--wif-font-mono);
  }

  .tenant-body--website-image-platform .wif-brand__mark {
    border-radius: var(--wif-radius-sm);
  }

  .tenant-body--website-image-platform .wif-brand__wordmark {
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: -0.03em;
  }

  .tenant-body--website-image-platform .wif-brand__provisional {
    font-family: var(--wif-font-sans);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--wif-text-muted);
  }

  .tenant-body--website-image-platform .wif-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 1rem;
    margin-left: auto;
    font-family: var(--wif-font-mono);
  }

  .tenant-body--website-image-platform .wif-nav__link {
    font-size: 0.78rem;
    text-decoration: none;
    color: var(--wif-text-muted);
    padding: 0.2rem 0;
    border-bottom: 2px solid transparent;
  }

  .tenant-body--website-image-platform .wif-nav__link:hover,
  .tenant-body--website-image-platform .wif-nav__link:focus-visible {
    color: var(--wif-accent);
    border-bottom-color: var(--wif-accent-2);
  }

  .tenant-body--website-image-platform .wif-nav__link[aria-current='page'] {
    color: var(--wif-accent);
    border-bottom-color: var(--wif-accent);
    font-weight: 600;
  }

  .tenant-body--website-image-platform .wif-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.5rem 0.9rem;
    min-height: 2.75rem;
    border-radius: var(--wif-radius-btn);
    font-family: var(--wif-font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--wif-border);
    cursor: pointer;
    background: var(--wif-surface);
    color: var(--wif-text);
    transition: border-color 0.12s ease, background 0.12s ease;
  }

  .tenant-body--website-image-platform .wif-btn--primary {
    background: var(--wif-accent);
    color: var(--wif-on-accent);
    border-color: color-mix(in srgb, var(--wif-accent) 80%, #000);
  }

  .tenant-body--website-image-platform .wif-btn--secondary {
    background: var(--wif-surface-2);
    color: var(--wif-accent);
    border-color: var(--wif-accent);
  }

  .tenant-body--website-image-platform .wif-nav-toggle {
    display: none;
    margin-left: auto;
    font-family: var(--wif-font-mono);
    font-size: 0.72rem;
    padding: 0.35rem 0.55rem;
    border: 1px solid var(--wif-border);
    background: var(--wif-surface-2);
    cursor: pointer;
  }

  .tenant-body--website-image-platform .wif-footer {
    margin-top: 2.5rem;
    border-top: 1px solid var(--wif-border);
    background: var(--wif-surface);
    font-family: var(--wif-font-mono);
    font-size: 0.75rem;
  }

  .tenant-body--website-image-platform .wif-footer__inner {
    max-width: var(--wif-max-width);
    margin: 0 auto;
    padding: 1.15rem var(--wif-gutter);
  }

  .tenant-body--website-image-platform .wif-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
  }

  .tenant-body--website-image-platform .wif-footer__links a {
    color: var(--wif-text-muted);
    text-decoration: none;
  }

  .tenant-body--website-image-platform .wif-footer__links a:hover {
    color: var(--wif-accent);
  }

  .tenant-body--website-image-platform .wif-footer__legal {
    margin: 0.65rem 0 0;
    color: var(--wif-text-muted);
    font-family: var(--wif-font-sans);
  }

  .tenant-body--website-image-platform .wif-page {
    max-width: var(--wif-max-width);
    margin: 0 auto;
    padding: 1.15rem var(--wif-gutter) 2.5rem;
  }

  .tenant-body--website-image-platform .wif-hero__kicker {
    font-family: var(--wif-font-mono);
    font-size: 0.72rem;
    color: var(--wif-accent-2);
    margin: 0 0 0.35rem;
  }

  .tenant-body--website-image-platform .wif-hero h1 {
    font-family: var(--wif-font-mono);
    font-size: clamp(1.45rem, 3.5vw, 2rem);
    line-height: 1.2;
    letter-spacing: -0.04em;
    margin: 0 0 0.6rem;
    max-width: 22ch;
  }

  .tenant-body--website-image-platform .wif-hero__lead {
    color: var(--wif-text-muted);
    max-width: 40rem;
    margin: 0 0 1rem;
  }

  .tenant-body--website-image-platform .wif-muted {
    color: var(--wif-text-muted);
    font-size: 0.88rem;
  }

  .tenant-body--website-image-platform .wif-preview-note {
    font-family: var(--wif-font-mono);
    font-size: 0.72rem;
    color: var(--wif-text-muted);
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.55rem;
    background: var(--wif-surface-2);
    border: 1px solid var(--wif-border);
    display: inline-block;
  }

  .tenant-body--website-image-platform .wif-entitlements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.45rem;
    margin-bottom: 1.15rem;
    font-family: var(--wif-font-mono);
    font-size: 0.75rem;
  }

  .tenant-body--website-image-platform .wif-entitlements__step {
    padding: 0.5rem 0.6rem;
    border: 1px solid var(--wif-border);
    background: var(--wif-surface);
    text-decoration: none;
    color: inherit;
  }

  .tenant-body--website-image-platform .wif-entitlements__step strong {
    display: block;
    color: var(--wif-accent);
    margin-bottom: 0.1rem;
  }

  .tenant-body--website-image-platform .wif-plan-teaser {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    margin-bottom: 1.15rem;
    border: 1px solid var(--wif-border);
    background: var(--wif-surface);
    font-size: 0.82rem;
  }

  .tenant-body--website-image-platform .wif-plan-teaser__link {
    color: var(--wif-accent);
    font-weight: 600;
    text-decoration: none;
    margin-left: auto;
    font-family: var(--wif-font-mono);
    font-size: 0.75rem;
  }

  .tenant-body--website-image-platform .wif-faq__title {
    font-family: var(--wif-font-mono);
    font-size: 0.95rem;
    margin: 0 0 0.75rem;
  }

  .tenant-body--website-image-platform .wif-faq__item {
    border: 1px solid var(--wif-border);
    margin-bottom: 0.35rem;
    padding: 0.4rem 0.75rem;
    background: var(--wif-surface);
  }

  .tenant-body--website-image-platform .wif-faq__q {
    font-family: var(--wif-font-mono);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
  }

  .tenant-body--website-image-platform .wif-faq__a p {
    margin: 0.4rem 0 0.25rem;
    color: var(--wif-text-muted);
    font-size: 0.85rem;
  }

  .tenant-body--website-image-platform .wif-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.75rem;
  }

  .tenant-body--website-image-platform .wif-price-card {
    padding: 0.9rem;
    border: 1px solid var(--wif-border);
    background: var(--wif-surface);
    font-family: var(--wif-font-mono);
    font-size: 0.82rem;
  }

  .tenant-body--website-image-platform .wif-price-card__amount {
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--wif-accent);
    margin: 0.3rem 0;
  }

  .tenant-body--website-image-platform .wif-spec-table-wrap,
  .tenant-body--website-image-platform .wif-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--wif-border);
    margin: 0.85rem 0;
  }

  .tenant-body--website-image-platform .wif-spec-table,
  .tenant-body--website-image-platform .wif-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--wif-font-mono);
    font-size: 0.78rem;
  }

  .tenant-body--website-image-platform .wif-spec-table th,
  .tenant-body--website-image-platform .wif-spec-table td,
  .tenant-body--website-image-platform .wif-table th,
  .tenant-body--website-image-platform .wif-table td {
    padding: 0.4rem 0.6rem;
    border: 1px solid var(--wif-border);
    text-align: left;
  }

  .tenant-body--website-image-platform .wif-spec-table th,
  .tenant-body--website-image-platform .wif-table th {
    background: var(--wif-surface-2);
    width: 36%;
    color: var(--wif-text-muted);
  }

  .tenant-body--website-image-platform .wif-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.75rem;
  }

  .tenant-body--website-image-platform .wif-tool-card {
    display: block;
    padding: 0.8rem;
    border: 1px solid var(--wif-border);
    background: var(--wif-surface);
    text-decoration: none;
    color: inherit;
    font-size: 0.85rem;
  }

  .tenant-body--website-image-platform .wif-badge--live {
    display: inline-block;
    font-family: var(--wif-font-mono);
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
    background: color-mix(in srgb, var(--wif-success) 15%, transparent);
    color: var(--wif-success);
    border: 1px solid color-mix(in srgb, var(--wif-success) 30%, transparent);
  }

  @media (max-width: 768px) {
    .tenant-body--website-image-platform .wif-nav-toggle {
      display: inline-flex;
    }

    .tenant-body--website-image-platform .wif-nav {
      display: none;
      width: 100%;
      flex-direction: column;
      margin-left: 0;
      padding: 0.5rem 0;
    }

    .tenant-body--website-image-platform .wif-header.is-nav-open .wif-nav {
      display: flex;
    }
  }
}
