/* 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(--terra);
  color: #fff;
  font-size: 15px;
  font-weight: 650;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-btn);
  transition: background 0.18s, transform 0.12s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--terra-deep); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.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(--hairline);
  border-radius: var(--radius-pill);
  transition: border-color 0.15s, color 0.15s;
}
.btn-secondary:hover { border-color: var(--terra); color: var(--terra-deep); }

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

.support-header { max-width: 720px; }
.support-title {
  font-family: var(--serif);
  font-size: clamp(38px, 6vw, 58px);
  line-height: 1.12;
  color: var(--ink);
  margin: 12px 0 16px;
}
.support-intro { font-size: 18px; color: var(--ink2); line-height: 1.7; }
.support-intro a { color: var(--terra-deep); text-decoration: underline; text-underline-offset: 2px; }

.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(--serif);
  font-size: clamp(26px, 3.6vw, 34px);
  line-height: 1.18;
  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.7;
  margin-bottom: 24px;
}
.section-note a { color: var(--terra-deep); text-decoration: underline; text-underline-offset: 2px; }
.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-lg);
  box-shadow: var(--shadow-card);
  padding: 26px 24px 24px;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
a.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(42, 36, 29, 0.12);
  border-color: rgba(194, 101, 66, 0.30);
}

.product-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(42, 36, 29, 0.16);
  display: block;
}
.product-icon-letter {
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  box-shadow: none;
}
.icon-bough { background: #EFE4EA; color: var(--plum); }

.product-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 4px;
}
.product-name {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.12;
  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(--terra-deep);
  font-size: 14px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- 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: 650;
  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(--terra);
  border-bottom: 2px solid var(--terra);
  transform: rotate(45deg);
  transition: transform 0.18s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq summary:hover { color: var(--terra-deep); }
.faq summary:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 3px;
  border-radius: 6px;
}

.faq .answer { padding: 0 14px 22px 0; }
.faq .answer p { color: var(--ink2); line-height: 1.7; 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.7; }
.faq .answer li { margin-bottom: 6px; }
.faq .answer strong { color: var(--ink); }
.faq .answer a { color: var(--terra-deep); text-decoration: underline; text-underline-offset: 2px; }
.faq .answer a:hover { color: var(--terra); }

/* ---------- Contact block ---------- */
.support-contact {
  background: var(--terra-tint);
  border-radius: var(--radius-lg);
  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(--surface);
  border: 1px solid rgba(194, 101, 66, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 8px 26px;
}
.contact-row { padding: 15px 0; border-bottom: 1px solid var(--bg-sunk); }
.contact-row:last-child { border-bottom: none; }
.contact-label {
  display: block;
  color: var(--ink3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  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(--terra-deep); }

/* ---------- 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(--terra);
}
.checklist strong { color: var(--ink); }

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

/* ---------- 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%; }
}
