/* Exported from runautomat.com competitor pages; fonts point at local copies. The competitor name in the mobile table comes from --aw-competitor-name (set by the template). */


  /* ── Competitor comparison page ── */

  .aw-vs-hero { padding: 180px 0 96px; }
  .aw-vs-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
  }
  .aw-vs-hero-left { display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; }
  .aw-vs-logo-pair { display: flex; align-items: center; gap: 16px; }
  .aw-vs-logo-competitor {
    font-family: 'AutomatGrotesk', 'Inter', sans-serif;
    font-weight: 500;
    color: #0d0d0d; letter-spacing: -0.01em; line-height: 1;
  }
  .aw-vs-logo-automat, .aw-vs-logo-competitor {
    display: inline-flex; align-items: center;
    font-size: 1.1rem !important;
    background: transparent; border: 1px solid #e5e7eb;
    border-radius: 12px; padding: 12px 16px;
  }
  .aw-vs-logo-automat {
    font-family: 'AutomatGrotesk', 'Inter', sans-serif;
    font-weight: 700; font-size: 1.15rem;
    color: #1a75e4; letter-spacing: -0.01em; line-height: 1;
  }
  .aw-vs-divider { font-size: 0.9rem; font-weight: 400; color: #0d0d0d; }
  .aw-vs-hero-left h1 {
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    font-weight: 500; line-height: 1.08;
    letter-spacing: -0.025em; color: #0d0d0d; margin: 0;
  }
  #aw-embed .aw-vs-hero-left h1 { margin: 0 !important; max-width: none !important; }
  .aw-vs-hero-right { display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; }
  .aw-vs-hero-right p {
    font-size: 1.1rem; color: #555; line-height: 1.7; margin: 0; max-width: none;
  }

  /* Comparison table */
  .aw-vs-table-wrap { padding: 0 0 48px; }
  .aw-vs-table {
    width: 100%; border-radius: 16px; overflow: hidden; border: 1px solid #e5e7eb;
  }
  .aw-vs-table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
  }
  .aw-vs-table-header > div {
    display: flex; align-items: center;
    padding: 14px 24px;
    font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.09em; color: #aaa;
  }
  .aw-vs-table-header .aw-col-automat {
    background: #f4f4f5; color: #1a75e4;
    font-family: 'AutomatGrotesk', 'Inter', sans-serif;
    font-weight: 700; font-size: 0.95rem;
    text-transform: none; letter-spacing: -0.01em;
    border-left: 1px solid #e5e7eb; border-right: 1px solid #e5e7eb;
  }
  .aw-vs-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid #e5e7eb;
  }
  .aw-vs-row:last-child { border-bottom: none; }
  .aw-vs-row .aw-col-feature svg { width: 20px; height: 20px; flex-shrink: 0; color: #0d0d0d; margin-right: 12px; }
  .aw-vs-row .aw-col-feature { display: flex; align-items: center; }
  .aw-vs-row > div { padding: 15px 24px; font-size: 1.05rem; line-height: 1.5; }
  .aw-vs-row .aw-col-feature   { font-weight: 500; color: #0d0d0d; background: #fff; }
  .aw-vs-row .aw-col-automat   {
    background: #f4f4f5; color: #0d0d0d;
    border-left: 1px solid #e5e7eb; border-right: 1px solid #e5e7eb;
  }
  .aw-vs-row .aw-col-competitor { color: #888; background: #fff; }

  /* Why Automat cards — icon */
  .aw-card-icon { display: block; margin-bottom: 4px; flex-shrink: 0; }

  /* Choose fit (kept in CSS even though section removed, no harm) */
  .aw-fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }
  .aw-fit-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 32px; }
  .aw-fit-card h3 { font-size: 1rem; font-weight: 500; color: #0d0d0d; margin: 0 0 20px; }
  .aw-checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
  .aw-checklist li { font-size: 0.93rem; line-height: 1.55; color: #333; padding-left: 22px; position: relative; }
  .aw-checklist li::before { content: '✓'; position: absolute; left: 0; color: #1a75e4; font-weight: 600; font-size: 0.85rem; }
  .aw-checklist-neutral li::before { content: '·'; color: #bbb; font-size: 1.6rem; line-height: 0.85; top: 2px; }

  /* 3-step */
  .aw-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .aw-step { text-align: left; padding: 0; }
  .aw-step h3 { font-size: 1.15rem; margin-bottom: 10px; }
  .aw-step p { font-size: 0.92rem; color: #666; margin: 0; line-height: 1.65; }
  /* ── Steps connector (dots + animated lines, left-aligned to columns) ── */
  .aw-steps-connector-row {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
    align-items: center; margin-bottom: 24px;
  }
  .aw-steps-connector {
    height: 2px; border-radius: 2px; background: #e4e7ec; overflow: hidden;
  }
  .aw-steps-connector-fill {
    height: 100%; width: 0; background: #1a75e4;
    transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .aw-steps-connector-fill.aw-line-go { width: 100%; }
  .aw-step-label {
    font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; color: #1a75e4; margin-bottom: 14px;
  }
  /* ── Ask AI band ── */
  .aw-spacer { height: 1px; background: #eceef2; margin: 0; border: none; }
  .aw-askai {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; text-align: center;
    gap: 20px;
    background: transparent; border: none; padding: 0;
  }
  .aw-askai-btns { justify-content: center; }
  .aw-askai h3 { margin: 0; font-size: 1.05rem; color: #0d0d0d; }
  .aw-askai-sub { font-size: 0.88rem; color: #888; margin: 4px 0 0 !important; }
  .aw-askai-btns { display: flex; gap: 10px; flex-wrap: wrap; }
  .aw-askai-btns a {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 0.88rem; font-weight: 400; color: #1a1a1a !important;
    height: 40px;
    text-decoration: none; background: #fff; border: 1.5px solid #d9dbe0;
    border-radius: 100px; padding: 0 20px; transition: all 0.2s;
  }
  .aw-askai-btns a svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }
  .aw-askai-btns a:hover { text-decoration: none; }
  .aw-askai-btns a.aw-ask-gpt:hover { background: #000; border-color: #000; color: #fff !important; }
  .aw-askai-btns a.aw-ask-claude:hover { background: #D97757; border-color: #D97757; color: #fff !important; }
  @media (max-width: 900px) {
    .aw-steps-connector-row { display: none; } /* steps stack vertically */
  }
  @media (max-width: 768px) {
    .aw-askai { justify-content: center; text-align: center; }
    .aw-askai-btns { width: 100%; flex-direction: column; }
    .aw-askai-btns a { justify-content: center; }
  }

  /* Responsive */
  @media (max-width: 960px) {
    .aw-vs-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .aw-vs-hero-right p { max-width: 100%; }
    .aw-vs-table-header,
    .aw-vs-row { grid-template-columns: 1fr 1fr; }
    .aw-vs-row .aw-col-feature,
    .aw-vs-table-header > div:first-child { display: none; }
    .aw-vs-row .aw-col-automat { border-left: none; border-right: none; }
    .aw-steps { grid-template-columns: 1fr; gap: 24px; }
    .aw-vs-hero { padding: 96px 0 48px; }
  }
  @media (max-width: 600px) {
    .aw-vs-hero-left h1 { font-size: 2.1rem; }
    .aw-vs-table-header, .aw-vs-row { grid-template-columns: 1fr; }
    .aw-vs-table-header .aw-col-competitor, .aw-vs-row .aw-col-competitor { display: none; }
    .aw-vs-table-header .aw-col-automat { border-left: none; border-right: none; }
    .aw-grid-3 { grid-template-columns: 1fr !important; }
  }


  /* ── Mobile comparison: stacked feature cards ── */
  @media (max-width: 960px) {
    .aw-vs-table-header { display: none; }
    .aw-vs-row {
      display: block;
      padding: 20px;
      background: #fff;
      border-bottom: 1px solid #e5e7eb;
    }
    .aw-vs-row:last-child { border-bottom: none; }
    .aw-vs-row > div { padding: 0; }
    .aw-vs-row .aw-col-feature {
      display: flex; align-items: center;
      background: transparent;
      font-size: 1.05rem; font-weight: 400;
      text-transform: none; letter-spacing: 0;
      color: #0d0d0d;
      margin-bottom: 12px;
    }
    .aw-vs-row .aw-col-feature svg {
      width: 18px; height: 18px; margin-right: 10px;
    }
    .aw-vs-row .aw-col-automat {
      display: block;
      background: transparent; border: none;
      color: #0d0d0d; font-weight: 400;
      font-size: 1rem; line-height: 1.5;
      padding: 0 0 16px;
    }
    .aw-vs-row .aw-col-competitor {
      display: block;
      background: transparent;
      color: #777; font-weight: 400;
      font-size: 1rem; line-height: 1.5;
      padding: 0;
    }
    /* one shared label style; only the color differs */
    .aw-vs-row .aw-col-automat::before,
    .aw-vs-row .aw-col-competitor::before {
      display: block;
      font-size: 0.78rem; font-weight: 600;
      letter-spacing: 0;
      margin-bottom: 4px;
    }
    .aw-vs-row .aw-col-automat::before { content: 'automat'; color: #1a75e4; }
    .aw-vs-row .aw-col-competitor::before { content: var(--aw-competitor-name); color: #9aa0ab; }
  }

  /* ── Desktop table: automat column as a floating white card ── */
  .aw-vs-vline { display: none; }
  @media (min-width: 961px) {
    .aw-vs-table { border: none; border-radius: 0; overflow: visible; position: relative; }
    /* white card behind the automat column, header through last row */
    .aw-vs-table::before {
      content: ''; position: absolute;
      left: 33.333%; width: 33.334%; top: 0; bottom: 0;
      background: transparent; border: 1px solid #e5e7eb;
      border-radius: 16px;
      pointer-events: none;
      z-index: 2; /* outline stays crisp above row dividers and hover wash */
    }
    .aw-vs-table-header, .aw-vs-row { position: relative; z-index: 1; }
    /* soft row dividers running the full width, under and across the card */
    .aw-vs-row { border-bottom: none; }
    .aw-vs-row::before {
      content: ''; position: absolute; top: 0; height: 1px;
      left: 0; right: 0; background: #eceef2;
      transition: opacity 0.15s ease;
    }
    /* hide the dividers touching a hovered row so the rounded wash reads clean */
    .aw-vs-row:hover::before,
    .aw-vs-row:hover + .aw-vs-row::before { opacity: 0; }
    .aw-vs-table-header { background: transparent; border-bottom: none; }
    .aw-vs-table-header > div { padding: 20px 24px; }
    .aw-vs-table-header .aw-col-automat {
      background: transparent; border: none;
      font-size: 1.55rem;
    }
    .aw-vs-table-header > div:last-child {
      background: transparent; border: none;
      font-family: 'AutomatGrotesk', 'Inter', sans-serif;
      font-weight: 500; font-size: 1.4rem;
      text-transform: none; letter-spacing: -0.02em;
      color: #0d0d0d;
    }
    /* uniform row height; content vertically centered even when it wraps */
    .aw-vs-row > div {
      background: transparent;
      display: flex; align-items: center;
      min-height: 72px; padding: 12px 24px;
    }
    .aw-vs-row .aw-col-feature { background: transparent; font-weight: 400; }
    .aw-vs-row .aw-col-automat {
      background: transparent; border: none;
      color: #888; font-weight: 400;
      transition: color 0.15s ease;
    }
    .aw-vs-row:hover .aw-col-automat { color: #1a75e4; }
    .aw-vs-row .aw-col-competitor {
      background: transparent; border: none;
      transition: color 0.15s ease;
    }
    .aw-vs-row:hover .aw-col-competitor { color: #0d0d0d; }
    /* subtle row highlight on hover */
    .aw-vs-row { transition: background 0.15s ease; border-radius: 12px; }
    .aw-vs-row:hover { background: #f3f3f4; }
  }

  /* ── CTAs hug their content; hero CTA left-aligned on small screens ── */
  @media (max-width: 960px) {
    .aw-vs-hero .aw-cta-row { justify-content: flex-start; }
    /* tighter stacked hero: H1 -> copy -> CTA */
    .aw-vs-hero-grid { gap: 24px; }
    .aw-vs-hero-left { gap: 16px; }
    .aw-vs-hero-right { gap: 12px; }
  }
  @media (max-width: 900px) {
    /* first stacked card: no border-top doubling the panel's own border */
    .aw-workflow-panel .aw-grid-3 .aw-card:first-child { border-top: none; }
  }
  @media (max-width: 480px) {
    .aw-cta-row { flex-direction: row; align-items: flex-start; }
    .aw-btn { width: auto; }
    /* long competitor names: chips wrap cleanly */
    .aw-vs-logo-pair { flex-wrap: wrap; row-gap: 10px; }
    .aw-vs-logo-automat, .aw-vs-logo-competitor { padding: 10px 14px; }
  }
  @media (max-width: 768px) {
    /* Ask-AI buttons hug their labels, stay in a centered row */
    .aw-askai-btns { width: auto; flex-direction: row; }
  }
