.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px
}

.support-form {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 28px
}

.support-form>p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7
}

.support-form input,
.support-form textarea {
  margin-bottom: 22px
}

@media(max-width:760px) {
.support-grid {
    grid-template-columns: 1fr;
    gap: 30px
  }
}

@media(max-width:600px) {
.support-grid {
    grid-template-columns: minmax(0, 1fr)
  }
}

.support-form textarea {
  width: 100%;
  min-height: 190px
}

/* Support page: optional Ko-fi preview and launch-focused help. */
.support-kofi-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 22px 0 36px;
  padding: 27px 30px;
  border: 1px solid #dce5f1;
  border-radius: var(--radius-panel);
  background: linear-gradient(120deg, #fff 0%, #f5f8fd 100%);
  box-shadow: 0 8px 24px #1d1d1f08
}

.support-kofi-copy {
  max-width: 620px
}

.support-kofi-copy .eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 1px
}

.support-kofi-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(21px, 2.7vw, 28px);
  letter-spacing: -.7px
}

.support-kofi-copy>p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6
}

.support-kofi-action {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px
}

.support-kofi-action .primary-button {
  min-height: 46px;
  white-space: nowrap
}

.support-official-profiles {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px
}

.support-official-profiles>a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fafbfc;
  transition: background .18s ease, border-color .18s ease, transform .18s ease
}

.support-official-profiles>a:hover {
  background: #fff;
  border-color: #b9cce4;
  transform: translateY(-1px)
}

.support-official-profiles>a:focus-visible {
  outline: 3px solid #1677e8;
  outline-offset: 3px
}

.support-social-icon {
  display: block;
  width: 17px;
  height: 17px;
  fill: #1877f2
}

.support-instagram-icon {
  fill: none;
  stroke: #c13584;
  stroke-width: 1.8
}

.support-instagram-flash {
  fill: #c13584;
  stroke: none
}

.support-about {
  margin: 0 0 30px;
  padding: 25px 28px;
  border: 1px solid #e4e7ed;
  border-radius: var(--radius-panel);
  background: #fff;
  box-shadow: 0 8px 24px #1d1d1f08
}

.support-about .eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 1px
}

.support-about h2 {
  margin: 0 0 9px;
  font-size: clamp(21px, 2.7vw, 28px);
  letter-spacing: -.7px
}

.support-about>p {
  max-width: 76ch;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7
}

@media(max-width:600px) {
.support-kofi-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
    margin: 18px 0 30px;
    padding: 22px 20px
  }
}

@media(max-width:600px) {
.support-kofi-action {
    align-items: flex-start
  }
}

@media(max-width:600px) {
.support-kofi-action>p {
    text-align: left
  }
}

@media(max-width:600px) {
.support-about {
    padding: 22px 20px
  }
}

@media(max-width:600px) {
.support-official-profiles {
    margin-top: 16px
  }
}

.support-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px
}

.support-title-row h1 {
  margin-bottom: 0
}

.support-version {
  flex: 0 0 auto;
  margin: 0 0 12px;
  padding: 8px 13px;
  border: 1px solid #e6e7eb;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 12px #1827410c;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  white-space: nowrap
}

.support-lead {
  max-width: 720px;
  margin: -4px 0 28px
}

.support-about {
  display: block
}

.support-about-copy {
  max-width: 760px
}

.support-about-copy>.eyebrow {
  margin-bottom: 9px
}

.support-about-copy>p:last-child {
  max-width: 68ch
}

.support-about .support-official-profiles {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px
}

.support-about .support-official-profiles>a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 13px;
  background: #f5f6f9;
  transition: background .18s ease, transform .18s ease
}

.support-about .support-official-profiles>a:hover {
  transform: translateY(-1px);
  background: #eef1f7
}

.support-about .support-official-profiles>a:focus-visible {
  outline: 3px solid #1677e8;
  outline-offset: 3px
}

.support-about .support-social-icon {
  width: 17px;
  height: 17px
}

.support-form {
  box-shadow: 0 8px 24px #1d1d1f08
}

.support-form>.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 1px
}

.support-form h2 {
  margin-bottom: 8px
}

.support-form>p:not(.eyebrow) {
  margin: 0 0 19px
}

.support-form label:not(.sr-only) {
  margin: 0 0 8px
}

.support-form #support-contact {
  margin-bottom: 0
}

.support-form .support-contact-note {
  margin: 7px 0 18px !important;
  font-size: 12px;
  line-height: 1.5
}

.support-form textarea {
  margin: 0 0 18px;
  min-height: 160px;
  resize: vertical
}

.support-form textarea::-webkit-resizer {
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, transparent 0 57%, #aeb4bd 58% 61%, transparent 62%), linear-gradient(135deg, transparent 0 77%, #aeb4bd 78% 81%, transparent 82%)
}

.support-form button {
  min-width: 130px
}

.support-form textarea {
  text-align: left
}

.support-form textarea::-webkit-resizer {
  width: 7px;
  height: 7px;
  background: linear-gradient(135deg, transparent 0 62%, #d2d5da 63% 66%, transparent 67%), linear-gradient(135deg, transparent 0 82%, #d2d5da 83% 86%, transparent 87%)
}

.support-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: 32px;
  row-gap: 18px
}

.support-about-copy {
  max-width: 900px
}

.support-about-copy>p:last-child {
  max-width: 78ch;
  line-height: 1.75
}

.support-about .support-official-profiles {
  align-self: end;
  justify-self: end;
  margin: 0 0 2px
}

@media(max-width:600px) {
.support-about {
    grid-template-columns: minmax(0, 1fr);
    align-items: start
  }
}

@media(max-width:600px) {
.support-about .support-official-profiles {
    justify-self: start;
    margin: 0
  }
}

body[data-page="support"] .site-footer {
  max-width: 1080px;
  width: calc(100% - 48px)
}

body[data-page="support"] .site-footer {
  margin-inline: auto;
}

@media(max-width:700px) {
.support-title-row {
    align-items: flex-start;
    gap: 12px;
  }
}

@media(max-width:700px) {
.support-title-row h1 {
    font-size: clamp(34px, 9vw, 45px);
  }
}

@media(max-width:700px) {
.support-version {
    margin-top: 4px;
    margin-bottom: 0;
    padding: 6px 9px;
    font-size: 10px;
  }
}

body[data-page="support"] .site-footer {
  width: calc(100% - 48px);
  max-width: 1080px;
  margin-inline: auto;
}

body[data-page="support"] .site-footer {
  width: min(90vw, 972px);
  max-width: 972px;
  margin-inline: auto
}

body[data-color-mode="dark"] .support-kofi-card,
body[data-color-mode="dark"] .support-about {
  border-color: #343943;
  background: linear-gradient(135deg, #20242c, #191c23);
  color: var(--ink);
  box-shadow: 0 14px 36px #0003
}

body[data-color-mode="dark"] .support-about .support-official-profiles>a {
  background: #282d36;
  color: #e4e6eb
}

body[data-color-mode="dark"] .support-about .support-official-profiles>a:hover {
  background: #343a45
}

body[data-page="support"] .site-footer {
  width: min(972px, calc(100% - 28px));
  max-width: 972px;
  margin-inline: auto;
}

/* Keep the support invitation compact beside the longer FAQ list. */
.support-grid { align-items: start; }

.support-side-column { display:grid; gap:24px; align-content:start; }

.support-faq h2 { margin:0 0 10px; font-size:20px; }

.support-faq details { padding:17px 0; }

.support-faq summary { display:flex; align-items:center; justify-content:space-between; gap:15px; list-style:none; font-weight:600; }

.support-faq summary::-webkit-details-marker { display:none; }

.support-faq summary::after { content:"+"; flex:none; width:24px; color:var(--muted); font-size:23px; font-weight:400; line-height:1; text-align:center; }

.support-faq details[open] summary::after { content:"−"; }

.support-faq details p { margin:12px 0 2px; }

.support-request-card { display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-start; align-self:start; min-height:0; padding:clamp(24px,3vw,34px); border:1px solid var(--line); }

.support-report-status { align-self:start; padding:clamp(22px,3vw,30px); border:1px solid var(--line); border-radius:22px; background:var(--surface, var(--canvas)); }

.support-report-status h2 { margin:0 0 10px; font-size:20px; }

.support-report-status > p { color:var(--muted); line-height:1.55; }

.support-report-status .support-request-fields { margin-top:18px; }

.support-report-status .primary-button { justify-self:start; margin-top:8px; }

.support-report-status [role="status"] { overflow-wrap:anywhere; }

.support-request-icon { display:grid; place-items:center; width:46px; height:46px; margin-bottom:22px; border-radius:15px; background:color-mix(in srgb,var(--blue) 10%,#fff); color:var(--blue); }

.support-request-icon svg { width:23px; height:23px; }

.support-request-card > p { max-width:45ch; }

.support-request-card .primary-button { margin-top:8px; }

#support-card-status { margin:16px 0 0; font-size:13px; line-height:1.5; }

#support-card-status:empty { display:none; }

body[data-color-mode="dark"] .support-request-icon { background:#1d3b5c; color:#a8d4ff; }

#support-status { min-height: 1.4em; margin: 13px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

#support-status.is-error { color: #b3261e; }

body[data-color-mode="dark"] #support-status.is-error { color: #ff928a; }

body[data-color-mode="dark"] .support-form {
  border-color: #343943;
  background: #1a1d24;
  color: var(--ink);
  box-shadow: 0 14px 40px #0003;
}

