/* Support pages (support.html, <product>/support.html).
   Layered ON TOP of legal.css, which supplies the design tokens, nav, and
   footer — load legal.css first. This file adds only support-specific pieces. */

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  background: var(--ink);
  color: #F5F5F2;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  transition: background 0.18s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--btn-hover); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 22px;
  border: 1px solid var(--chip-border);
  border-radius: var(--radius-btn);
  transition: border-color 0.15s, color 0.15s;
}
.btn-secondary:hover { border-color: var(--ink); }

/* ---------- Page shell ---------- */
.support-main { padding: clamp(44px, 7vw, 84px) 0 clamp(56px, 8vw, 104px); }

.support-header { max-width: 720px; }
.support-title {
  font-family: var(--sans);
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--ink);
  margin: 14px 0 16px;
}
.support-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}
.support-intro { font-size: 18px; color: var(--ink2); line-height: 1.66; }
.support-intro a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.support-intro a:hover { color: var(--ink2); }

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.support-section { margin-top: clamp(46px, 6vw, 74px); }
.support-section h2 {
  font-family: var(--sans);
  font-size: clamp(24px, 3.4vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.support-section h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 26px 0 8px;
}
.section-note {
  color: var(--ink2);
  max-width: var(--content-w);
  line-height: 1.66;
  margin-bottom: 24px;
}
.section-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.section-note a:hover { color: var(--ink2); }
.section-note:last-child { margin-bottom: 0; }

/* ---------- Product picker ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 26px 24px 24px;
  transition: transform 0.15s, border-color 0.15s;
}
a.product-card:hover {
  transform: translateY(-2px);
  border-color: var(--chip-border);
}

.product-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(27, 30, 28, 0.12);
  display: block;
}

.product-kicker {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 4px;
}
.product-name {
  font-family: var(--sans);
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.product-desc {
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.6;
  margin-bottom: 18px;
}
.product-go {
  margin-top: auto;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
}

.product-card-regularish .product-kicker,
.product-card-regularish .product-go { color: var(--regularish); }
.product-card-pare .product-kicker,
.product-card-pare .product-go { color: var(--pare); }
.product-card-bough .product-kicker,
.product-card-bough .product-go { color: var(--bough); }
a.product-card:hover .product-go { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq {
  max-width: var(--content-w);
  border-top: 1px solid var(--hairline);
}
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 18px 40px 18px 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  transition: color 0.15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  position: absolute;
  right: 10px;
  top: 25px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 0.18s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq summary:hover { color: var(--ink2); }
.faq summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.faq .answer { padding: 0 14px 22px 0; }
.faq .answer p { color: var(--ink2); line-height: 1.66; margin: 0 0 12px; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq .answer ul { color: var(--ink2); margin: 0 0 12px; padding-left: 22px; line-height: 1.66; }
.faq .answer li { margin-bottom: 6px; }
.faq .answer strong { color: var(--ink); }
.faq .answer a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.faq .answer a:hover { color: var(--ink2); }

/* ---------- Contact block ---------- */
.support-contact {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: clamp(26px, 4vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.support-contact h2 { margin-bottom: 10px; }
.support-contact > * { min-width: 0; }

.contact-panel {
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 8px 26px;
}
.contact-row { padding: 15px 0; border-bottom: 1px solid var(--hairline); }
.contact-row:last-child { border-bottom: none; }
.contact-label {
  display: block;
  color: var(--ink3);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.contact-value {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
a.contact-value:hover { color: var(--ink2); }

/* ---------- Checklist ---------- */
.checklist {
  max-width: var(--content-w);
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  position: relative;
  padding: 0 0 0 28px;
  margin-bottom: 10px;
  color: var(--ink2);
  line-height: 1.65;
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
}
.checklist strong { color: var(--ink); }

/* ---------- Callout ---------- */
.callout {
  max-width: var(--content-w);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--ink);
  border-radius: var(--radius-card);
  padding: 20px 24px;
}
.callout p { color: var(--ink2); line-height: 1.66; margin: 0 0 10px; }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--ink); }
.callout a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.callout a:hover { color: var(--ink2); }

/* ---------- Product page header ---------- */
.product-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 4px;
}
.product-header .product-icon { margin-bottom: 0; flex: 0 0 auto; }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .support-contact { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .product-grid { grid-template-columns: 1fr; }
  .support-intro { font-size: 16px; }
  .faq summary { font-size: 16px; }
  .support-actions .btn-primary,
  .support-actions .btn-secondary { width: 100%; }
}
