/* Support page. Loads after style.css (header) and before footer.css. */
.sp {
  --sp-ink: #111114;
  --sp-text: #3a3a40;
  --sp-muted: #5f5f66;
  --sp-line: #e6e6ea;
  --sp-soft: #f4f4f6;
  --sp-orange: #ff7b00;
  --sp-orange-soft: #ffb673;
  --sp-orange-text: #c2410c;
  --sp-grad: linear-gradient(90deg, #c2410c, #e86a00);
  --sp-border: linear-gradient(90deg, #ff7b00, #ffb673 60%, #ff7b00);
  color: var(--sp-text);
  font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.sp-wrap { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.sp h1, .sp h2, .sp h3 { margin: 0; color: var(--sp-ink); }
.sp p { margin: 0; }
.sp-grad { background: var(--sp-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sp :focus-visible { outline: 2px solid var(--sp-ink); outline-offset: 3px; border-radius: 8px; }

/* Hero */
.sp-hero { position: relative; text-align: center; padding: clamp(48px, 7vw, 80px) 0 28px; }
.sp-label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--sp-orange-text); }
.sp-hero h1 { margin-top: 10px; font-size: clamp(2rem, 4.6vw, 2.9rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.08; }
.sp-hero .lede { margin: 14px auto 0; max-width: 46ch; color: var(--sp-muted); line-height: 1.6; }
.sp-note { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; color: var(--sp-muted); font-size: 14px; }
.sp-note svg { width: 18px; height: 18px; color: var(--sp-ink); flex: none; }
.sp-bubbles { position: absolute; right: -22px; top: -104px; width: clamp(150px, 19vw, 220px); overflow: visible; height: auto; z-index: 2; pointer-events: none; display: none; }
@media (min-width: 820px) { .sp-bubbles { display: block; } }

/* Form card with gradient border */
.sp-card { position: relative; border-radius: 22px; padding: 2px; background: var(--sp-border); box-shadow: 0 30px 60px -36px rgba(17,17,20,.35); }
.sp-card::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: -2px; height: 6px; border-radius: 0 0 22px 22px; background: var(--sp-border); z-index: -1; }
.sp-card-in { background: #fff; border-radius: 20px; padding: 12px; }
.sp-top { background: var(--sp-soft); border-radius: 14px; padding: clamp(18px, 3vw, 24px); display: grid; gap: 18px; }
@media (min-width: 720px) { .sp-top { grid-template-columns: 1fr 1fr; gap: 24px; } }
.sp-body { padding: clamp(18px, 3vw, 24px); }
.sp-field label { display: block; font-weight: 600; font-size: 14px; color: var(--sp-ink); margin-bottom: 8px; }
.sp-field .hint { margin-top: 8px; font-size: 12.5px; color: var(--sp-muted); }
.sp-field select, .sp-field input, .sp-field textarea {
  width: 100%; font: 400 15px/1.5 'Geist', system-ui, sans-serif; color: var(--sp-ink);
  background: #fff; border: 1px solid #d9d9df; border-radius: 10px; padding: 10px 12px; min-height: 44px;
}
.sp-field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;}
.sp-field textarea { min-height: 140px; resize: vertical; }
.sp-field select:focus, .sp-field input:focus, .sp-field textarea:focus { outline: 2px solid var(--sp-orange); outline-offset: 1px; border-color: transparent; }
.sp-field [aria-invalid="true"] { border-color: #b42318; }
.sp-error { margin-top: 8px; font-size: 13px; color: #b42318; min-height: 18px; }
.sp-actions { margin-top: 18px; display: grid; gap: 18px; align-items: start; }
@media (min-width: 720px) { .sp-actions { grid-template-columns: 1fr auto; } }
.sp-direct { display: flex; gap: 10px; font-size: 14px; color: var(--sp-ink); }
.sp-direct svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.sp-direct a { color: var(--sp-orange-text); }
.sp-send { text-align: center; }
.sp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; min-width: 230px; padding: 0 24px; border: 0; border-radius: 12px; background: var(--sp-orange); color: var(--sp-ink); font: 600 15px 'Geist', system-ui, sans-serif; cursor: pointer; text-decoration: none; transition: background .18s; }
.sp-btn:hover { background: #ff8d24; }
.sp-btn svg { width: 16px; height: 16px; }
.sp-send .small { margin-top: 8px; font-size: 12.5px; color: var(--sp-muted); max-width: 30ch; margin-left: auto; margin-right: auto; }
.sp-send .small a { color: var(--sp-muted); }

/* Straight to the right answer */
.sp-answers { padding: clamp(56px, 8vw, 88px) 0 clamp(56px, 8vw, 80px); }
.sp-answers h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); font-weight: 600; letter-spacing: -0.035em; }
.sp-list { list-style: none; margin: 26px 0 0; padding: 0; }
.sp-list li { border-bottom: 1px solid var(--sp-line); }
.sp-list a { display: grid; grid-template-columns: 28px 1fr 36px; gap: 8px 18px; align-items: center; padding: 18px 0; text-decoration: none; color: inherit; }
@media (min-width: 760px) { .sp-list a { grid-template-columns: 28px minmax(200px, .8fr) 1.2fr 36px; } }
.sp-list .ic { width: 24px; height: 24px; color: var(--sp-ink); }
.sp-list h3 { font-size: 16.5px; font-weight: 600; }
.sp-list p { color: var(--sp-muted); font-size: 14.5px; grid-column: 2 / 3; }
@media (min-width: 760px) { .sp-list p { grid-column: auto; } }
.sp-list .go { grid-row: 1; grid-column: 3; width: 32px; height: 32px; border-radius: 50%; background: var(--sp-orange); color: var(--sp-ink); display: grid; place-items: center; justify-self: end; transition: transform .18s; }
@media (min-width: 760px) { .sp-list .go { grid-column: 4; } }
.sp-list .go svg { width: 16px; height: 16px; }
.sp-list a:hover h3 { color: var(--sp-orange-text); }
.sp-list a:hover .go { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .sp-btn, .sp-list .go { transition: none; } }

/* Select chevron is an inline SVG (the site's security rules block data: images) */
.sp-select { position: relative; }
.sp-select svg { position: absolute; right: 12px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); pointer-events: none; color: var(--sp-ink); }

.sp-opt { font-weight: 400; color: var(--sp-muted); }

/* Bubbles: gentle float + typing dots */
@media (prefers-reduced-motion: no-preference) {
  .sp-bubbles .front { animation: sp-float 4.6s ease-in-out infinite; transform-box: fill-box; }
  .sp-bubbles .back { animation: sp-float 5.4s ease-in-out -1.8s infinite; transform-box: fill-box; }
  .sp-bubbles .shadow { animation: sp-shadow 4.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .sp-bubbles .d { animation: sp-type 1.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .sp-bubbles .d2 { animation-delay: .18s; }
  .sp-bubbles .d3 { animation-delay: .36s; }
}
@keyframes sp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes sp-shadow { 0%, 100% { transform: scaleX(1); opacity: .18; } 50% { transform: scaleX(.86); opacity: .12; } }
@keyframes sp-type { 0%, 60%, 100% { transform: translateY(0); opacity: .75; } 30% { transform: translateY(-6px); opacity: 1; } }
