:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #53616f;
  --line: #d8dee5;
  --panel: #ffffff;
  --page: #f5f7f9;
  --accent: #0d7a75;
  --accent-dark: #095e5a;
  --danger: #b42318;
  --success: #0b6b3a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

.legal-page,
.support-page {
  min-height: 100vh;
  padding: 32px 18px;
}

.legal-shell,
.support-form {
  width: min(100%, 760px);
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(23, 33, 43, 0.08);
}

.legal-shell {
  padding: 38px;
}

.support-page {
  display: grid;
  place-items: center;
}

.support-form {
  max-width: 560px;
  padding: 30px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p,
ul {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  font-size: 34px;
  line-height: 1.15;
}

h2 {
  margin: 30px 0 8px;
  font-size: 19px;
  line-height: 1.25;
}

.updated,
.legal-shell p,
.legal-shell li {
  color: var(--muted);
}

.legal-shell ul {
  padding-left: 21px;
}

.form-head {
  margin-bottom: 24px;
}

.field {
  margin-bottom: 16px;
}

label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #b9c2cc;
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(13, 122, 117, 0.18);
}

.is-invalid {
  border-color: var(--danger);
}

.error {
  min-height: 20px;
  margin: 5px 0 0;
  color: var(--danger);
  font-size: 13px;
  line-height: 1.4;
}

button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

button:hover,
button:focus {
  background: var(--accent-dark);
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.server-error,
.success {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 700;
}

.server-error {
  border: 1px solid rgba(180, 35, 24, 0.28);
  background: #fff1f0;
  color: var(--danger);
}

.success {
  border: 1px solid rgba(11, 107, 58, 0.25);
  background: #edf8f2;
  color: var(--success);
}

@media (max-width: 560px) {
  .legal-page,
  .support-page {
    padding: 14px;
  }

  .legal-shell,
  .support-form {
    padding: 22px;
  }

  h1 {
    font-size: 28px;
  }
}
