/* ============================================================
   pAIrent showcase page
   Wraps the 2xtwo navy/gold shell (style.css) around a product
   mockup rendered in pAIrent's own palette (blue/coral/green).
   ============================================================ */

:root {
  --pa-blue:   #3f7ca6;
  --pa-coral:  #ee7d63;
  --pa-green:  #3f9b6c;
  --pa-navy:   #143a52;
  --pa-cream:  #f4f0e7;
  --pa-line:   #e5e0d4;
  --pa-field:  #fbfaf6;
}

/* --- Dark sections --------------------------------------------------
   In the base stylesheet the navy background is set per-section
   (.hero/.services/.education); the bare .dark class only recolours
   accents. This page adds new .dark sections (#form/#how/#cta), so give
   every .dark section the navy ground its white text needs. Scoped to
   this page — pairent.css is only loaded here. */
section.dark { background: var(--navy); color: #fff; }
/* The shared caption is ink-soft (right on light sections); lighten it
   only where it sits on navy. */
section.dark .pa-caption { color: rgba(255, 255, 255, 0.72); }

/* --- Product hero -------------------------------------------------- */
.pa-hero { text-align: center; }
.pa-hero .wrap { max-width: 820px; }
.pa-logo-badge {
  display: inline-flex;
  padding: 1.1rem;
  background: var(--pa-cream);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--gold-hairline);
  margin-bottom: 1.8rem;
}
.pa-logo-badge img { width: 150px; height: 150px; display: block; }
.pa-hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.7rem);
  line-height: 1.08;
  margin-bottom: 0.7rem;
}
.pa-hero h1 em { font-style: normal; color: var(--gold); }
.pa-kicker {
  font-family: "League Spartan", sans-serif;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.9rem;
}
.pa-hero .lede {
  font-size: clamp(1.05rem, 2.2vw, 1.24rem);
  color: rgba(255, 255, 255, 0.86);
  max-width: 640px;
  margin: 0 auto 2rem;
}
.pa-proof {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "League Spartan", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-hairline);
  border-radius: 999px;
  padding: 0.5rem 1.1rem 0.4rem;
}
.pa-proof::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pa-green);
  box-shadow: 0 0 0 4px rgba(63, 155, 108, 0.25);
}

/* --- Section intro reused ----------------------------------------- */
.pa-intro { max-width: 680px; }
.pa-intro p { color: var(--ink-soft); }
.pa-intro.on-dark p { color: rgba(255, 255, 255, 0.82); }

/* ==================================================================
   The form mockup — a browser window containing the Airtable form
   ================================================================== */
.pa-stage { padding-top: 1rem; }
.pa-browser {
  max-width: 560px;
  margin: 2.6rem auto 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 40px 80px -30px rgba(20, 30, 50, 0.45),
    0 0 0 1px rgba(20, 30, 50, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.pa-browser:hover {
  transform: translateY(-6px);
  box-shadow:
    0 55px 95px -30px rgba(20, 30, 50, 0.5),
    0 0 0 1px rgba(20, 30, 50, 0.08);
}
.pa-chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.95rem;
  background: #edeaf0;
  border-bottom: 1px solid #dcd8e0;
}
.pa-dot { width: 11px; height: 11px; border-radius: 50%; }
.pa-dot.r { background: #ff5f57; }
.pa-dot.y { background: #febc2e; }
.pa-dot.g { background: #28c840; }
.pa-url {
  flex: 1;
  margin-left: 0.5rem;
  background: #fff;
  border-radius: 7px;
  font-family: "League Spartan", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: #7a7686;
  padding: 0.34rem 0.7rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pa-url::before { content: "\1F512\00a0\00a0"; opacity: 0.6; }

.pa-form {
  padding: 1.8rem 1.7rem 2rem;
  font-family: -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #1c2230;
  position: relative;
  text-align: left; /* the surrounding section is centered; the form is not */
}
.pa-form-head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.5rem; }
.pa-form-head img { width: 42px; height: 42px; border-radius: 8px; }
.pa-form-head h3 {
  font-family: -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #16181d;
  letter-spacing: -0.01em;
}

.pa-field { margin-bottom: 1.35rem; }
.pa-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #1c2230;
  margin-bottom: 0.15rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.pa-req { color: #e0503a; font-weight: 700; }
.pa-help { font-size: 0.78rem; color: #9a97a3; margin-bottom: 0.55rem; }
.pa-emoji { font-size: 0.95rem; }
.pa-check-head {
  width: 17px; height: 17px; border-radius: 4px;
  background: var(--pa-green);
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.pa-check-head svg { width: 11px; height: 11px; stroke: #fff; stroke-width: 3; fill: none; }

/* Select control (closed) */
.pa-select {
  display: flex;
  align-items: center;
  border: 1px solid #d4d1da;
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  background: #fff;
}
.pa-select.is-open {
  border-color: var(--pa-blue);
  box-shadow: 0 0 0 3px rgba(63, 124, 166, 0.18);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.pa-caret { margin-left: auto; color: #8a8794; transition: transform 0.2s; }
.pa-select.is-open .pa-caret { transform: rotate(180deg); }

/* Open dropdown menu */
.pa-menu {
  border: 1px solid var(--pa-blue);
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 14px 30px -12px rgba(20, 30, 50, 0.35);
  overflow: hidden;
}
.pa-opt {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
  cursor: default;
}
.pa-opt + .pa-opt { border-top: 1px solid #f0eef3; }
.pa-opt.sel { background: #eef4fa; }
.pa-opt .pa-tick { margin-left: auto; color: var(--pa-blue); display: none; }
.pa-opt.sel .pa-tick { display: inline-flex; }

/* Pills */
.pa-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.24rem 0.7rem;
  border-radius: 999px;
  line-height: 1.5;
  white-space: nowrap;
}
.tint-teal   { background: #d3efe4; color: #1d6b4e; }
.tint-pink   { background: #fbdfe1; color: #b03a49; }
.tint-blue   { background: #dbe8fb; color: #2c5a9e; }
.tint-green  { background: #d9efdc; color: #2c7a41; }
.tint-purple { background: #e7e2fb; color: #574aad; }
.tint-orange { background: #fce4d1; color: #b56622; }

/* Radio / checkbox option rows */
.pa-choice { display: flex; align-items: center; gap: 0.6rem; padding: 0.28rem 0; }
.pa-radio {
  width: 17px; height: 17px; border-radius: 50%;
  border: 1.5px solid #cbc8d2; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
}
.pa-choice.on .pa-radio { border-color: var(--pa-blue); }
.pa-choice.on .pa-radio::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pa-blue);
}
.pa-box {
  width: 17px; height: 17px; border-radius: 4px;
  border: 1.5px solid #cbc8d2; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
}
.pa-choice.on .pa-box { background: var(--pa-green); border-color: var(--pa-green); }
.pa-choice.on .pa-box svg { width: 11px; height: 11px; stroke: #fff; stroke-width: 3; fill: none; }
.pa-choice.on .pa-box svg { display: block; }
.pa-box svg { display: none; }

/* Filled details box */
.pa-details {
  border: 1px solid #d4d1da;
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  font-size: 0.88rem;
  color: #2a2f3c;
  background: var(--pa-field);
  line-height: 1.65;
}
.pa-details ul { margin: 0; padding-left: 1.1rem; }
.pa-details li { margin: 0.15rem 0; }
.pa-note-input {
  border: 1px solid #d4d1da;
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  font-size: 0.88rem;
  color: #2a2f3c;
  background: var(--pa-field);
  font-style: italic;
}
.pa-submit {
  margin-top: 0.4rem;
  background: var(--pa-blue);
  color: #fff;
  font-family: -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.6rem;
}
.pa-caption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 1.4rem;
  font-style: italic;
}

/* --- Callout chips beside the mockup ------------------------------ */
.pa-annot {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 760px;
  margin: 3rem auto 0;
}
.pa-annot-card {
  background: var(--cream-card);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--pa-blue);
  padding: 1.1rem 1.25rem;
  text-align: left;
}
.pa-annot-card:nth-child(2) { border-left-color: var(--pa-green); }
.pa-annot-card:nth-child(3) { border-left-color: var(--pa-coral); }
.pa-annot-card h4 {
  font-family: "League Spartan", sans-serif;
  font-size: 0.95rem; color: var(--navy);
  margin-bottom: 0.3rem;
}
.pa-annot-card p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

/* ==================================================================
   Before / After neutral rewrite
   ================================================================== */
.pa-rewrite {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.4rem;
  align-items: center;
  margin-top: 2.6rem;
}
.pa-msg {
  border-radius: 12px;
  padding: 1.5rem 1.6rem;
  position: relative;
}
.pa-msg.raw {
  background: #fbece9;
  border: 1px solid #f2cfc6;
}
.pa-msg.clean {
  background: #e9f4ee;
  border: 1px solid #c6e4d2;
}
.pa-msg-tag {
  font-family: "League Spartan", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
  display: inline-block;
}
.pa-msg.raw .pa-msg-tag { color: #c0483a; }
.pa-msg.clean .pa-msg-tag { color: #2c7a41; }
.pa-msg p { font-size: 0.98rem; line-height: 1.65; color: var(--ink); margin: 0; }
.pa-msg.raw p { font-style: italic; }
.pa-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--pa-green); color: #fff; flex: 0 0 auto;
}
.pa-arrow svg { width: 22px; height: 22px; stroke: #fff; stroke-width: 2.4; fill: none; }

/* ==================================================================
   How it works — flow
   ================================================================== */
.pa-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0.6rem;
  margin-top: 2.6rem;
}
.pa-step {
  background: var(--navy-deep);
  border: 1px solid var(--gold-hairline);
  padding: 1.6rem 1.4rem;
  text-align: center;
}
.pa-step .n {
  font-family: "League Spartan", sans-serif;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.6rem;
}
.pa-step h4 { color: #fff; font-size: 1.02rem; margin-bottom: 0.4rem; }
.pa-step p { font-size: 0.88rem; color: rgba(255,255,255,0.78); margin: 0; }
.pa-flow-arrow { display: flex; align-items: center; justify-content: center; color: var(--gold); }
.pa-flow-arrow svg { width: 26px; height: 26px; stroke: var(--gold); stroke-width: 1.8; fill: none; }

.pa-cadence {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.pa-cad {
  border: 1px solid var(--gold-hairline);
  padding: 1.2rem 1.3rem;
  text-align: left;
}
.pa-cad .lbl {
  font-family: "League Spartan", sans-serif;
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.35rem;
}
.pa-cad p { font-size: 0.88rem; color: rgba(255,255,255,0.8); margin: 0; }

/* ==================================================================
   Feature grid
   ================================================================== */
.pa-feat {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.3rem;
  margin-top: 2.4rem;
}
.pa-feat-card {
  background: var(--cream-card);
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--gold);
  padding: 1.6rem 1.5rem;
}
.pa-feat-card .ico {
  width: 40px; height: 40px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 0.9rem;
  background: rgba(63, 124, 166, 0.12);
}
.pa-feat-card:nth-child(2) .ico { background: rgba(63, 155, 108, 0.14); }
.pa-feat-card:nth-child(3) .ico { background: rgba(238, 125, 99, 0.14); }
.pa-feat-card:nth-child(4) .ico { background: rgba(240, 214, 135, 0.28); }
.pa-feat-card:nth-child(5) .ico { background: rgba(63, 124, 166, 0.12); }
.pa-feat-card:nth-child(6) .ico { background: rgba(63, 155, 108, 0.14); }
.pa-feat-card .ico svg { width: 21px; height: 21px; fill: none; stroke-width: 1.8; stroke: var(--navy); }
.pa-feat-card h3 { margin-bottom: 0.45rem; }
.pa-feat-card p { font-size: 0.95rem; color: var(--ink-soft); }

/* Category taxonomy chips */
.pa-taxo {
  display: flex; flex-wrap: wrap; gap: 0.55rem;
  max-width: 760px; margin: 2rem auto 0; justify-content: center;
}

/* --- Final CTA ---------------------------------------------------- */
.pa-cta { text-align: center; }
.pa-cta .wrap { max-width: 640px; }
.pa-cta h2 { color: #fff; }
.pa-cta p { color: rgba(255,255,255,0.85); margin: 0 auto 2rem; max-width: 520px; }
.pa-back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-family: "League Spartan", sans-serif; font-size: 0.85rem;
  letter-spacing: 0.06em;
}
.pa-back:hover { color: var(--gold); }

/* --- Responsive --------------------------------------------------- */
@media (max-width: 760px) {
  .pa-rewrite { grid-template-columns: 1fr; }
  .pa-arrow { transform: rotate(90deg); margin: 0 auto; }
  .pa-flow { grid-template-columns: 1fr; }
  .pa-flow-arrow { transform: rotate(90deg); padding: 0.3rem 0; }
}
