/* SteepWorksAI — shared product page styles
 * Hosted at: steepworksai.com/product.css
 * Used by: formbuddy.steepworksai.com, briefer.steepworksai.com
 */

* { box-sizing: border-box; margin: 0; padding: 0; }

@keyframes blobShift {
  0%   { transform: translate(0%, 0%) scale(1); }
  33%  { transform: translate(4%, -6%) scale(1.08); }
  66%  { transform: translate(-4%, 4%) scale(0.95); }
  100% { transform: translate(0%, 0%) scale(1); }
}
@keyframes blobShift2 {
  0%   { transform: translate(0%, 0%) scale(1); }
  33%  { transform: translate(-5%, 5%) scale(1.1); }
  66%  { transform: translate(5%, -3%) scale(0.93); }
  100% { transform: translate(0%, 0%) scale(1); }
}
@keyframes blobShift3 {
  0%   { transform: translate(0%, 0%) scale(1); }
  50%  { transform: translate(3%, 6%) scale(1.06); }
  100% { transform: translate(0%, 0%) scale(1); }
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  color: #111827;
  background: #f0f7f0;
  position: relative;
  overflow-x: hidden;
}

body::before, body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}
body::before {
  width: 700px; height: 700px;
  top: -200px; left: -150px;
  background: radial-gradient(circle, rgba(45,107,45,0.18) 0%, transparent 70%);
  animation: blobShift 14s ease-in-out infinite;
}
body::after {
  width: 600px; height: 600px;
  bottom: -100px; right: -150px;
  background: radial-gradient(circle, rgba(201,146,14,0.14) 0%, transparent 70%);
  animation: blobShift2 18s ease-in-out infinite;
}

/* ── Product nav ── */
.product-nav {
  max-width: 1280px; margin: 0 auto; padding: 20px 24px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.nav-home { font-size: 30px; text-decoration: none; line-height: 1; transition: transform 0.15s ease; }
.nav-home:hover { transform: scale(1.15); }
.nav-brand { display: flex; align-items: center; gap: 12px; justify-content: center; }
.nav-brand img { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 4px 16px rgba(45,107,45,0.25); }
.nav-brand span { font-size: 22px; font-weight: 900; color: #1f2937; letter-spacing: -0.5px; }

/* ── Three-column page layout ── */
.page-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  gap: 48px;
  align-items: start;
}
.features-panel {
  padding-top: 80px;
  position: sticky;
  top: 24px;
}
.features-panel .section-label { margin-bottom: 16px; }
.features-panel .feature-grid {
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 0;
}

/* ── How panel (right sticky column — full steps) ── */
.how-panel {
  padding-top: 80px;
  position: sticky;
  top: 24px;
}
.how-panel .section-label { margin-bottom: 16px; }
.how-steps { display: flex; flex-direction: column; gap: 10px; }
.how-panel .step { padding: 14px; }
.how-panel .step h3 { font-size: 13px; }
.how-panel .step p { font-size: 11px; line-height: 1.45; }
.how-panel .step-num { margin-bottom: 8px; }

/* ── Watch Demo button ── */
.video-modal-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px; border-radius: 10px; margin-top: 24px;
  background: #fff; border: 2px solid #ff0000; color: #ff0000;
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  font-family: inherit;
}
.video-modal-btn:hover { background: #ff0000; color: #fff; }
.video-modal-btn svg { width: 28px; height: 20px; flex-shrink: 0; }

/* ── Video modal ── */
.video-modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.88); z-index: 1000;
  align-items: center; justify-content: center;
}
.video-modal-overlay.open { display: flex; }
.video-modal { position: relative; width: 90%; max-width: 960px; }
.video-modal-close {
  position: absolute; top: -44px; right: 0;
  background: none; border: none; color: #fff;
  font-size: 32px; cursor: pointer; line-height: 1; opacity: 0.75;
  font-family: inherit;
}
.video-modal-close:hover { opacity: 1; }
.video-modal .video-wrap { position: relative; padding-bottom: 56.25%; height: 0; border-radius: 12px; overflow: hidden; }
.video-modal .video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* ── Hero ── */
.hero { padding: 80px 0 60px; text-align: left; }
.badge { display: inline-block; background: #f0f9f0; color: #2d6b2d; border: 1px solid #a8d5a8; border-radius: 99px; padding: 4px 14px; font-size: 13px; font-weight: 700; margin-bottom: 20px; }
h1 { font-size: 42px; font-weight: 900; color: #1f2937; line-height: 1.15; margin-bottom: 20px; }
.sub { font-size: 18px; color: #6b7280; line-height: 1.6; max-width: 540px; margin: 0 0 36px; }

/* ── Section label ── */
.section-label {
  font-size: 17px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: #2d6b2d; margin-bottom: 14px;
}

/* ── Feature grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 40px;
  margin-bottom: 36px;
}
.feature-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 14px 16px;
}
.feature-item .fi-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.feature-item .fi-body h3 { font-size: 14px; font-weight: 700; color: #1f2937; margin-bottom: 3px; }
.feature-item .fi-body p { font-size: 13px; color: #6b7280; line-height: 1.5; }

/* ── CTAs ── */
.cta-group { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 12px; }
.cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  background: linear-gradient(135deg, #2d6b2d, #c9920e);
  color: #fff; box-shadow: 0 4px 18px rgba(45,107,45,0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  cursor: pointer;
}
.cta svg { width: 22px; height: 22px; flex-shrink: 0; }
.cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(45,107,45,0.45); }
.cta:active { transform: translateY(0) scale(0.97); }
.cta-chrome { background: #fff; color: #1f2937; border: 1.5px solid #dadce0; box-shadow: 0 1px 4px rgba(0,0,0,0.1); }
.cta-chrome:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.15); border-color: #b8bec8; }
.cta-edge { background: #fff; color: #1f2937; border: 1.5px solid #dadce0; box-shadow: 0 1px 4px rgba(0,0,0,0.1); }
.cta-edge:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.15); border-color: #b8bec8; }
.cta-gh { background: linear-gradient(135deg, #1f2937, #374151); box-shadow: 0 4px 18px rgba(0,0,0,0.2); }
.cta-gh:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.35); }
.cta-contribute { background: transparent; border: 2px solid #2d6b2d; color: #2d6b2d; box-shadow: none; }
.cta-contribute:hover { background: #2d6b2d; color: #fff; box-shadow: 0 4px 14px rgba(45,107,45,0.3); }

/* ── How it works ── */
.how { max-width: 1280px; margin: 0 auto 60px; padding: 0 24px; text-align: center; }
.how h2 { font-size: 26px; font-weight: 800; color: #1f2937; margin-bottom: 32px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.step { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 24px 20px; text-align: left; }
.step-num {
  width: 28px; height: 28px;
  background: #f0f9f0; border: 1.5px solid #a8d5a8; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: #2d6b2d;
  margin-bottom: 12px;
}
.step h3 { font-size: 15px; font-weight: 700; color: #1f2937; margin-bottom: 6px; }
.step p { font-size: 13px; color: #6b7280; line-height: 1.55; }

/* ── Video ── */
.video-section { max-width: 1280px; margin: 0 auto 60px; padding: 0 24px; }
.video-section h2 { font-size: 22px; font-weight: 800; color: #1f2937; margin-bottom: 16px; text-align: center; }
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* ── Bottom CTA ── */
.cta-bottom { max-width: 1280px; margin: 0 auto 60px; padding: 0 24px; display: flex; justify-content: center; }

/* ── Privacy ── */
.privacy { max-width: 1280px; margin: 0 auto 60px; padding: 0 24px; }
.privacy h2 { font-size: 26px; font-weight: 800; color: #1f2937; margin-bottom: 20px; text-align: center; }
.privacy-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #e5e7eb; }
.privacy-table th { background: #f9fafb; padding: 12px 16px; text-align: left; font-size: 13px; font-weight: 700; color: #374151; border-bottom: 1px solid #e5e7eb; }
.privacy-table td { padding: 12px 16px; font-size: 13px; color: #4b5563; border-bottom: 1px solid #f3f4f6; }
.privacy-table tr:last-child td { border-bottom: none; }

/* ── Footer ── */
footer { text-align: center; padding: 32px 24px; font-size: 13px; color: #9ca3af; border-top: 1px solid #e5e7eb; }
footer a { color: #2d6b2d; text-decoration: none; }

@media (max-width: 1024px) {
  .page-layout { grid-template-columns: 200px 1fr 200px; gap: 32px; }
}
@media (max-width: 860px) {
  .page-layout { grid-template-columns: 1fr; gap: 0; }
  .features-panel { position: static; padding-top: 0; margin-bottom: 40px; }
  .features-panel .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .how-panel { position: static; padding-top: 0; margin-top: 32px; }
  .how-steps { flex-direction: row; flex-wrap: wrap; }
  .how-panel .step { flex: 1 1 140px; }
  .hero { padding: 40px 0 24px; }
  h1 { font-size: 32px; }
}
@media (max-width: 540px) {
  .features-panel .feature-grid { grid-template-columns: 1fr; }
  .how-steps { flex-direction: column; }
  h1 { font-size: 26px; }
  .steps { grid-template-columns: 1fr; }
}
