/* workato.css — supplement to style.css for the Workato Partner page.
   Links style.css first, then this. Reuses tokens, nav, footer, hero,
   buttons, section type, and .final CTA from style.css. */

/* Hero credentials row */
.wk-creds {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.wk-cred {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wk-cred-stars { color: #b8860b; font-size: 13px; letter-spacing: 2px; }
.wk-cred-title { font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.wk-cred-sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
}

/* Why OneSolve — three reasons */
.wk-why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.wk-why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.wk-why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(30, 28, 58, 0.08);
  border-color: var(--border-mid);
}
.wk-why-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--red);
  margin-bottom: 14px;
}
.wk-why-card h3 {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: var(--navy);
  margin: 0 0 12px;
}
.wk-why-card p { font-size: 15px; line-height: 1.65; color: var(--text-mid); margin: 0 0 16px; }
.wk-why-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 500;
  color: var(--red);
  text-decoration: none;
}
.wk-why-link:hover { color: var(--navy); }

/* Production Genies */
.wk-genies {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.wk-genie {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.wk-genie:hover { border-color: var(--border-mid); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.wk-genie-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 10px;
}
.wk-genie-name {
  font-family: "DM Serif Display", serif;
  font-size: 24px;
  color: var(--navy);
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}
.wk-genie-desc { font-size: 14.5px; line-height: 1.6; color: var(--text-mid); margin: 0 0 20px; }
.wk-genie-metric { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.wk-genie-num { font-family: "DM Serif Display", serif; font-size: 28px; color: var(--navy); line-height: 1; }
.wk-genie-num span { color: var(--red); }
.wk-genie-mlabel { font-size: 12px; color: var(--text-light); margin-top: 4px; }
.wk-genie-link { margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--red); }
.wk-genie:hover .wk-genie-link { color: var(--navy); }

/* Customer proof on Workato */
.wk-proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.wk-proof-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.wk-proof-card:hover { border-color: var(--border-mid); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.wk-proof-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 12px;
}
.wk-proof-headline {
  font-family: "DM Serif Display", serif;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.3px;
  color: var(--navy);
  margin-bottom: 12px;
}
.wk-proof-teaser { font-size: 14.5px; line-height: 1.6; color: var(--text-mid); margin: 0 0 22px; }
.wk-proof-metrics { display: flex; gap: 36px; margin-bottom: 20px; }
.wk-proof-num { font-family: "DM Serif Display", serif; font-size: 30px; color: var(--navy); line-height: 1; }
.wk-proof-num span { color: var(--amber); font-size: 18px; }
.wk-proof-mlabel { font-size: 12px; color: var(--text-light); margin-top: 5px; }
.wk-proof-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wk-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.wk-chip {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--text-light);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 9px;
}
.wk-proof-read { font-size: 13px; font-weight: 500; color: var(--red); }
.wk-proof-card:hover .wk-proof-read { color: var(--navy); }

@media (max-width: 900px) {
  .wk-creds { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .wk-why,
  .wk-genies,
  .wk-proof { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .wk-creds { grid-template-columns: 1fr; gap: 16px; }
}
