:root {
  --green-deep: #162d1f;
  --green-mid: #254d35;
  --green-muted: #3d7a55;
  --cream: #f6f1e7;
  --cream-dark: #ede5d3;
  --gold: #c8963e;
  --gold-light: #e8b95a;
  --text-dark: #111a14;
  --text-body: #2e3d30;
  --text-muted: #6a7d6c;
  --white: #ffffff;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow: 0 24px 70px rgba(22, 45, 31, 0.18);
  --ff-display: Georgia, "Times New Roman", serif;
  --ff-body: "Trebuchet MS", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--ff-body);
  color: var(--text-body);
  background:
    radial-gradient(circle at 14% 18%, rgba(106, 185, 138, 0.18), transparent 26%),
    radial-gradient(circle at 76% 12%, rgba(200, 150, 62, 0.2), transparent 28%),
    linear-gradient(90deg, var(--green-deep) 0%, #203d2b 47%, var(--cream) 47%, var(--cream) 100%);
  overflow-x: hidden;
}

button,
input,
textarea,
a {
  font: inherit;
}

.support-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(440px, 1fr);
  align-items: start;
  gap: clamp(24px, 4vw, 68px);
  padding: clamp(18px, 3vw, 40px);
}

.support-hero {
  color: var(--cream);
  display: grid;
  align-self: stretch;
  align-content: start;
  gap: clamp(28px, 5vh, 60px);
  min-height: calc(100vh - clamp(36px, 6vw, 80px));
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.02);
}

.support-hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -160px;
  bottom: -130px;
  border-radius: 50%;
  background: rgba(232, 185, 90, 0.12);
  filter: blur(2px);
}

.support-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.brand {
  color: var(--cream);
  font-family: var(--ff-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand span {
  color: var(--gold-light);
}

.nav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-actions a,
.ghost {
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 0.72rem 1.05rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-actions a {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.hero-copy {
  max-width: 650px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1,
h2 {
  font-family: var(--ff-display);
  color: inherit;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3.1rem, 6vw, 5.6rem);
  font-weight: 400;
  margin-bottom: 1.4rem;
  max-width: 720px;
}

.hero-copy p:not(.eyebrow) {
  max-width: 520px;
  color: rgba(246, 241, 231, 0.76);
  font-size: 1.08rem;
  line-height: 1.75;
}

.support-card {
  width: min(100%, 920px);
  justify-self: stretch;
  align-self: start;
  background: rgba(255, 250, 241, 0.94);
  border: 1px solid rgba(22, 45, 31, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(20px, 2.4vw, 32px);
}

.card-heading {
  margin-bottom: 16px;
}

.card-heading h2 {
  color: var(--text-dark);
  font-size: clamp(1.9rem, 3.4vw, 2.65rem);
}

.support-form,
.field {
  display: grid;
  gap: 8px;
}

.support-form {
  gap: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field span,
.type-picker legend {
  color: var(--text-dark);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(22, 45, 31, 0.14);
  border-radius: 14px;
  background: var(--white);
  color: var(--text-dark);
  padding: 10px 14px;
  outline: none;
}

textarea {
  height: 124px;
  min-height: 112px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--green-muted);
  box-shadow: 0 0 0 4px rgba(61, 122, 85, 0.12);
}

.type-picker {
  display: grid;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0;
}

.type-picker legend {
  margin-bottom: 2px;
}

.type-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  border: 1px solid rgba(22, 45, 31, 0.12);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.72);
  padding: 11px 14px;
  cursor: pointer;
}

.type-card:has(input:checked) {
  border-color: rgba(47, 111, 79, 0.55);
  background: rgba(47, 111, 79, 0.08);
}

.type-card input {
  width: auto;
  margin-top: 4px;
}

.type-card strong {
  display: block;
  color: var(--text-dark);
}

.type-card small {
  line-height: 1.35;
}

.type-card small,
.message,
.loading-card p {
  color: var(--text-muted);
}

.loading-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(47, 111, 79, 0.16);
  border-radius: var(--radius-md);
  background: rgba(47, 111, 79, 0.08);
  padding: 12px 14px;
}

.loading-spinner {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid rgba(47, 111, 79, 0.2);
  border-top-color: var(--green-muted);
  animation: support-spin 0.9s linear infinite;
}

.hidden {
  display: none !important;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-mid), var(--green-deep));
  color: var(--cream);
  cursor: pointer;
  font-weight: 800;
  padding: 0.78rem 1.25rem;
}

.primary:disabled,
input:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

@keyframes support-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 920px) {
  body {
    background:
      radial-gradient(circle at 18% 6%, rgba(47, 111, 79, 0.14), transparent 28%),
      radial-gradient(circle at 86% 44%, rgba(232, 185, 90, 0.12), transparent 26%),
      linear-gradient(180deg, #fbf6ea 0%, var(--cream) 100%);
  }

  .support-shell {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
    min-height: auto;
    padding: clamp(14px, 4vw, 28px);
  }

  .support-hero {
    min-height: auto;
    align-content: start;
    gap: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
      radial-gradient(circle at 100% 100%, rgba(232, 185, 90, 0.14), transparent 34%),
      linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
      linear-gradient(160deg, var(--green-deep) 0%, #203d2b 100%);
    box-shadow: 0 20px 42px rgba(22, 45, 31, 0.18);
  }

  .support-card {
    width: 100%;
    align-self: start;
    justify-self: stretch;
    margin-bottom: 24px;
  }
}

@media (max-width: 640px) {
  .support-shell {
    padding: 12px;
  }

  .support-hero,
  .support-card {
    border-radius: 24px;
  }

  .support-hero {
    gap: 22px;
    padding: 18px;
  }

  .support-hero::after {
    right: -130px;
    bottom: -140px;
    width: 260px;
    height: 260px;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.4rem);
    margin-bottom: 0.9rem;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.6;
  }

  .support-nav,
  .form-grid {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .support-nav {
    display: grid;
  }

  .nav-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .nav-actions a {
    text-align: center;
  }

  .support-card {
    padding: 20px;
  }

  .card-heading h2 {
    font-size: clamp(1.75rem, 10vw, 2.35rem);
  }

  .type-card {
    padding: 10px 12px;
  }

  textarea {
    min-height: 104px;
  }

  .loading-card {
    grid-template-columns: 1fr;
  }

  .form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary,
  .ghost {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .nav-actions {
    grid-template-columns: 1fr;
  }

  .support-card {
    padding: 18px;
  }
}
