:root {
  color-scheme: light;
  --brand: #06b6d4;
  --brand-dark: #0e7490;
  --background: #f4f6f9;
  --surface: #ffffff;
  --text: #24313b;
  --muted: #647482;
  --border: #dce4ea;
}

* {
  box-sizing: border-box;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
}

a {
  color: var(--brand-dark);
}

.site-header {
  background: var(--brand);
  color: #fff;
}

.site-header__inner,
.page,
.site-footer__inner {
  width: min(100% - 32px, 860px);
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
}

.site-nav {
  display: flex;
  gap: 18px;
}

.site-nav a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.page {
  padding: 48px 0 56px;
}

.card {
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 12px 40px rgb(32 54 68 / 8%);
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 6vw, 46px);
  line-height: 1.1;
}

h2 {
  margin: 34px 0 10px;
  font-size: 21px;
}

p,
li {
  font-size: 16px;
  line-height: 1.65;
}

.lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
}

.updated {
  color: var(--muted);
  font-size: 14px;
}

.support-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-weight: 650;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #b8c4cc;
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

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

.field input:focus,
.field textarea:focus {
  border-color: var(--brand-dark);
  outline: 3px solid rgb(6 182 212 / 18%);
}

.optional {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.button {
  justify-self: start;
  border: 0;
  border-radius: 10px;
  padding: 12px 20px;
  background: var(--brand-dark);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 600;
}

.form-status[data-state="success"] {
  color: #166534;
}

.form-status[data-state="error"] {
  color: #991b1b;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 32px;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
  font-size: inherit;
}

@media (max-width: 560px) {
  .site-header__inner,
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    padding-bottom: 18px;
  }

  .page {
    padding-top: 24px;
  }
}
