:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --text: #111827;
  --muted: #5b6472;
  --accent: #0f766e;
  --accent-strong: #115e59;
  --accent-soft: rgba(15, 118, 110, 0.1);
  --border: rgba(148, 163, 184, 0.22);
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 20%),
    linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

a {
  color: inherit;
}

.support-shell {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 32px 20px 72px;
}

.support-card {
  margin-top: min(8vh, 72px);
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.support-topbar {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.plain-link {
  text-decoration: none;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h2,
h3 {
  margin: 0;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.25rem;
}

h3 {
  font-size: 1rem;
}

.lead,
.panel-copy p,
.info-card p,
label span,
input,
textarea,
.submit-button,
.lang-button {
  font-size: 1rem;
}

.lead,
.panel-copy p,
.info-card p {
  color: var(--muted);
  line-height: 1.7;
}

.lead {
  width: min(100%, 42rem);
  margin: 16px 0 0;
}

.lang-switch {
  display: inline-flex;
  gap: 10px;
  margin-top: 28px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.lang-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 140ms ease, color 140ms ease;
}

.lang-button.is-active {
  background: var(--accent);
  color: #fff;
}

.lang-panel {
  display: none;
  margin-top: 24px;
}

.lang-panel.is-active {
  display: block;
}

.panel-copy {
  margin-bottom: 18px;
}

.panel-copy p {
  margin: 10px 0 0;
}

.info-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.info-card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.info-card p {
  margin: 8px 0 0;
}

.support-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: var(--text);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  padding: 15px 16px;
  font-family: inherit;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

input:focus,
textarea:focus {
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

.submit-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-width: 220px;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  background: linear-gradient(135deg, #0f766e, #0ea5a4);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
}

.secondary-button {
  margin-top: 18px;
}

.thanks-card {
  text-align: center;
}

@media (max-width: 640px) {
  .support-card {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .support-topbar {
    justify-content: flex-start;
  }

  .lang-switch {
    width: 100%;
    justify-content: space-between;
  }

  .lang-button {
    flex: 1;
  }

  .submit-button {
    width: 100%;
  }
}
