/* Support page. Built on landing.css, so it shares the homepage's type, colours and buttons. */

.sp-hero { display: grid; justify-items: center; width: min(900px, calc(100% - 40px)); margin: clamp(36px, 5vw, 64px) auto 0; text-align: center; }
.lp .sp-hero h1 { margin-top: 22px; color: var(--ink); font-size: clamp(2.5rem, 5.8vw, 4.8rem); font-weight: 720; letter-spacing: -.062em; line-height: 1; text-wrap: balance; }
.lp .sp-hero h1 span { color: #8a9081; }
.sp-hero .lede { max-width: 660px; margin-top: 22px; }

/* What do you need? */
.sp-paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; width: min(1180px, calc(100% - 48px)); margin: clamp(36px, 5vw, 56px) auto 0; padding: 0; list-style: none; }
.sp-paths button { display: grid; align-content: start; gap: 6px; width: 100%; height: 100%; padding: 20px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: var(--white); font: inherit; text-align: left; cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s; }
.sp-paths button:hover { border-color: #c6cdb9; box-shadow: 0 16px 36px #1d221614; transform: translateY(-2px); }
.sp-paths b { margin-top: 8px; font-size: 1.05rem; letter-spacing: -.025em; }
.sp-paths small { color: var(--muted); font-size: .92rem; line-height: 1.45; }
.sp-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #eef3dd; }
.sp-icon::before { width: 20px; height: 20px; background: #3d5016; content: ""; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.sp-icon-bug { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='7' y='7' width='10' height='13' rx='5'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0M3 13h4M17 13h4M4 7l3 2M20 7l-3 2M4 19l3-2M20 19l-3-2'/%3E%3C/svg%3E"); }
.sp-icon-idea { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 0 0-3.5 10.9c.6.5 1 1.2 1 2.1h5c0-.9.4-1.6 1-2.1A6 6 0 0 0 12 3z'/%3E%3C/svg%3E"); }
.sp-icon-key { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cpath d='M11 12l8-8M16 7l2 2M14 9l2 2'/%3E%3C/svg%3E"); }
.sp-icon-ask { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.5 7.2L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3Cpath d='M9.8 9.5a2.3 2.3 0 0 1 4.4.8c0 1.5-2.2 1.9-2.2 3.2M12 16.5h.01'/%3E%3C/svg%3E"); }

/* Form and side panel */
.sp-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); align-items: start; gap: clamp(18px, 3vw, 32px); width: min(1180px, calc(100% - 48px)); margin: clamp(28px, 4vw, 44px) auto 0; scroll-margin-top: 140px; }
.sp-form-card { padding: clamp(22px, 3.4vw, 38px); border: 1px solid var(--line); border-radius: 26px; background: var(--white); box-shadow: 0 24px 60px #1d22160f; scroll-margin-top: 140px; }
.lp .sp-form-card h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.sp-form-note { margin-top: 8px; color: var(--muted); }
.support-form, .support-done { display: grid; gap: 18px; margin-top: 24px; }
.support-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.support-topics legend { width: 100%; margin-bottom: 10px; font-weight: 650; }
.support-topics label { position: relative; }
.support-topics input { position: absolute; opacity: 0; }
.support-topics span { display: inline-block; padding: .55rem .95rem; border: 1px solid var(--line); border-radius: 99px; color: #3f453a; background: #f4f5ef; font-size: .92rem; font-weight: 620; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.support-topics input:checked + span { border-color: var(--ink); color: #f6faee; background: var(--ink); }
.support-topics input:focus-visible + span { outline: 2px solid #52640e; outline-offset: 3px; }
.support-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.support-field { display: grid; gap: 7px; }
.support-field > span { font-size: .95rem; font-weight: 650; }
.support-field small { color: var(--muted); font-size: .82rem; font-weight: 500; }
.support-field input, .support-field textarea { width: 100%; padding: .82rem .95rem; border: 1px solid #cfd5c6; border-radius: 12px; color: var(--ink); background: #fff; font: inherit; font-size: 1rem; line-height: 1.45; transition: border-color .15s, box-shadow .15s; }
.support-field textarea { min-height: 170px; resize: vertical; }
.support-field input:focus, .support-field textarea:focus { border-color: #6c7f3a; outline: 0; box-shadow: 0 0 0 4px #daff5955; }
.support-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.support-send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.support-send .button { min-height: 50px; padding-inline: 1.3rem; }
.support-send button[disabled] { opacity: .6; transform: none; }
.support-status { color: var(--muted); font-size: .94rem; }
.support-status.is-error { color: #a3341f; }
.support-done { justify-items: start; }
.support-done:focus { outline: 0; }
.support-check { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--lime); }
.support-check::after { width: 18px; height: 10px; margin-top: -4px; border-bottom: 3px solid #1b1f12; border-left: 3px solid #1b1f12; transform: rotate(-45deg); content: ""; }
.lp .support-done h2 { font-size: 1.9rem; }
.support-done p { color: var(--muted); line-height: 1.55; }

.sp-aside { display: grid; gap: 14px; position: sticky; top: 140px; }
.sp-promise { padding: 24px; border-radius: 22px; color: #eef3e4; background: radial-gradient(80% 70% at 100% 0%, #3a4a1f, transparent 65%), #141711; }
.lp .sp-promise h2, .lp .sp-quick h2 { font-size: 1.15rem; letter-spacing: -.03em; }
.lp .sp-promise h2 { color: #f6f8f1; }
.sp-promise ol { display: grid; gap: 14px; margin: 16px 0 0; padding: 0; list-style: none; counter-reset: step; }
.sp-promise li { position: relative; padding-left: 38px; color: #aeb5a6; line-height: 1.5; counter-increment: step; }
.sp-promise li::before { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #171a10; background: var(--lime); font-size: .8rem; font-weight: 800; content: counter(step); }
.sp-promise b { color: #f6f8f1; }
.sp-quick { padding: 22px 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); }
.sp-quick ul { display: grid; margin: 12px 0 0; padding: 0; list-style: none; }
.sp-quick li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; color: #3c4136; }
.sp-quick li + li { border-top: 1px solid #e8eae1; }
.sp-quick kbd { padding: 1px 7px; border: 1px solid #c8cdbd; border-bottom-width: 2px; border-radius: 6px; color: var(--ink); background: #fff; font: 650 .9em var(--font); }
.sp-quick em { padding: 2px 9px; border-radius: 99px; color: #2f4210; background: #e4f3bf; font-size: .82rem; font-style: normal; font-weight: 700; }
.sp-links { display: flex; gap: 20px; margin-top: 14px; }
.sp-links a { color: #3d5016; font-weight: 650; text-decoration: underline; text-decoration-color: #4d612766; text-underline-offset: .2em; }

/* Feature requests band */
.sp-requests { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 64px); width: min(1180px, calc(100% - 48px)); margin: clamp(64px, 8vw, 104px) auto 0; padding: clamp(28px, 4.5vw, 52px); border-radius: 30px; color: #f3f5ee; background: radial-gradient(70% 80% at 92% 0%, #3b4c1e8c, transparent 62%), #141711; }
.sp-requests .eyebrow { color: var(--lime); }
.lp .sp-requests h2 { color: #f6f8f1; font-size: clamp(2rem, 3.6vw, 3rem); }
.lp .sp-requests h2 span { color: var(--lime); }
.sp-requests-copy p { color: #aeb5a6; font-size: 1.06rem; line-height: 1.55; }
.sp-requests-copy .button { margin-top: 22px; }

@media (max-width: 980px) {
  .sp-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-grid, .sp-requests { grid-template-columns: 1fr; }
  .sp-aside { position: static; }
}
@media (max-width: 560px) {
  .sp-paths, .sp-grid, .sp-requests { width: calc(100% - 28px); }
  .sp-paths { grid-template-columns: 1fr; }
  .support-row { grid-template-columns: 1fr; }
  .support-send .button { width: 100%; }
}
