/* Cougarly GEO, Alternatives, Safety & Free Web Tool components
 * Seamless extension of tk/tk.css + assets/home.css + assets/site.css (en-US). */

.g-tldr {
  margin: 0 0 2rem;
  padding: 1.35rem 1.55rem;
  border-radius: 24px;
  background: linear-gradient(135deg, #f6f1ff 0%, #fff4ec 100%);
  border: 1.5px solid #e4d6ff;
  color: var(--ink);
}
.g-tldr-label {
  display: inline-block;
  margin-bottom: .5rem;
  padding: .25rem .7rem;
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  font: 800 .76rem/1 var(--text);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.g-tldr p { margin: 0 !important; font-weight: 600; font-size: 1.04rem; line-height: 1.62; color: var(--ink); }

.g-table-wrap {
  margin: 2rem 0;
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid #e7dff6;
  background: #fff;
  box-shadow: 0 12px 30px -22px rgb(20 8 44 / .25);
}
.g-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: .95rem;
  line-height: 1.5;
}
.g-table thead th {
  background: #170b33;
  color: #fff;
  text-align: left;
  padding: .95rem 1rem;
  font: 700 .88rem/1.3 var(--display);
  letter-spacing: .01em;
}
.g-table tbody td {
  padding: .85rem 1rem;
  border-top: 1px solid #efe9fa;
  vertical-align: top;
  color: var(--ink);
}
.g-table tbody tr:nth-child(even) td { background: #faf8ff; }
.g-table tbody td:first-child { font-weight: 700; color: #1b0e3a; }

.g-callout {
  margin: 2rem 0;
  padding: 1.35rem 1.55rem;
  border-radius: 22px;
  background: #fff7f2;
  border-left: 4px solid var(--coral);
  color: var(--ink);
}
.g-callout-title {
  margin: 0 0 .45rem !important;
  font: 800 1.06rem/1.3 var(--display);
  color: #b8321b;
}
.g-callout p { margin: 0 !important; font-size: .98rem; line-height: 1.65; }

.g-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.8rem 0;
}
@media (max-width: 720px) { .g-two-col { grid-template-columns: 1fr; } }
.g-box {
  padding: 1.3rem 1.4rem;
  border-radius: 22px;
  background: #faf7ff;
  border: 1px solid #e9e0fa;
}
.g-box.highlight {
  background: linear-gradient(155deg, #faf5ff 0%, #fff5ee 100%);
  border-color: #ffd4bd;
}
.g-box h3 { margin: 0 0 .75rem !important; font-size: 1.12rem !important; }
.g-box ul { margin: 0 !important; padding-left: 1.15rem !important; font-size: .96rem; }

.g-faq { margin: 2.2rem 0 1.5rem; }
.g-faq details {
  border: 1px solid #e8e0f7;
  border-radius: 18px;
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
  background: #fcfbff;
}
.g-faq summary {
  cursor: pointer;
  font: 700 1.03rem/1.4 var(--display);
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--coral);
  flex-shrink: 0;
}
.g-faq details[open] summary::after { content: "−"; }
.g-faq details p { margin: .8rem 0 0 !important; color: var(--ink-mut); font-size: .97rem; line-height: 1.68; }

.g-refs {
  margin: 2rem 0 0;
  padding-top: 1.3rem;
  border-top: 1px solid #ece6f8;
  font-size: .92rem;
  color: var(--ink-mut);
}
.g-refs h3 { font-size: 1.02rem !important; margin: 0 0 .65rem !important; }
.g-refs ul { margin: 0 !important; }

.g-cta-strip {
  margin: 2.2rem 0 .5rem;
  padding: 1.6rem 1.8rem;
  border-radius: 26px;
  background: radial-gradient(60% 100% at 90% 0%, #311473 0%, transparent 70%), #130829;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}
.g-cta-strip h3 { margin: 0 0 .35rem !important; color: #fff !important; font-size: 1.3rem !important; }
.g-cta-strip p { margin: 0 !important; color: rgb(255 255 255 / .78); font-size: .95rem; max-width: 46ch; }

/* Free Web Tool: Bio & First-Message Generator */
.g-tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 860px) { .g-tool-grid { grid-template-columns: 1fr; } }
.g-tool-panel {
  border-radius: 28px;
  padding: 1.6rem;
  background: #fff;
  color: var(--ink);
  border: 1px solid #e6ddf7;
  box-shadow: 0 24px 50px -36px rgb(12 4 28 / .55);
}
.g-field { margin-bottom: 1.1rem; }
.g-field label {
  display: block;
  margin-bottom: .45rem;
  font: 700 .9rem/1.3 var(--display);
  color: #1c0f3c;
}
.g-field select, .g-field input[type="text"] {
  width: 100%;
  padding: .75rem .95rem;
  border-radius: 14px;
  border: 1.5px solid #ddd2f4;
  background: #fbfaff;
  color: var(--ink);
  font: 500 .97rem/1.4 var(--text);
}
.g-field select:focus, .g-field input[type="text"]:focus {
  outline: none;
  border-color: var(--violet);
  background: #fff;
}
.g-pill-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.g-pill {
  padding: .5rem .95rem;
  border-radius: 999px;
  border: 1.5px solid #ddd2f4;
  background: #faf7ff;
  color: #27154f;
  font: 600 .88rem/1.2 var(--text);
  cursor: pointer;
  transition: all .18s ease;
}
.g-pill[aria-pressed="true"] {
  background: #170b33;
  border-color: #170b33;
  color: #fff;
}
.g-output-card {
  border-radius: 20px;
  padding: 1.2rem 1.3rem;
  background: #faf8ff;
  border: 1px solid #e7dff7;
  margin-bottom: .9rem;
}
.g-output-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .55rem;
}
.g-output-tag {
  font: 800 .75rem/1 var(--text);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--violet);
}
.g-copy-btn {
  padding: .4rem .8rem;
  border-radius: 999px;
  border: 1px solid #d5c7f3;
  background: #fff;
  color: #1b0e3a;
  font: 700 .82rem/1 var(--text);
  cursor: pointer;
}
.g-copy-btn:hover { background: #170b33; color: #fff; border-color: #170b33; }
.g-output-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.62;
  color: var(--ink);
  white-space: pre-wrap;
}
.g-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.25rem;
}
.g-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  background: rgb(255 255 255 / .08);
  border: 1px solid rgb(255 255 255 / .16);
  color: #fff;
  font: 600 .86rem/1.2 var(--text);
}
