:root {
  --font-body: "Source Sans Pro", "Segoe UI", sans-serif;
  --text: #474747;
  --text-soft: #616161;
  --line: #cccccc;
  --bg: #ffffff;
  --brand: #309edb;
  --container: 37rem;
  --radius: 0.625rem;
  --space-1: 0.5rem;
  --space-2: 0.875rem;
  --space-3: 1.125rem;
  --space-4: 1.375rem;
  --space-5: 1.875rem;
}

html {
  font-size: 18pt;
}

@media (max-width: 980px) {
  html {
    font-size: 16pt;
  }
}

@media (max-width: 640px) {
  html {
    font-size: 14pt;
  }
}

.zen-body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
}

.site-shell {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.25rem 1rem;
}

.site-header {
  margin-bottom: var(--space-5);
}

.site-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 0.875rem;
  margin-bottom: var(--space-3);
}

.site-brand__logo {
  width: 5.4rem;
  height: 5.4rem;
  border-radius: 50%;
  object-fit: cover;
}

.site-brand__title {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.4rem;
  width: calc(100% + 0.4rem);
  font-size: 1.5em;
  line-height: 1.25;
  font-weight: 400;
}

.site-brand__subtitle {
  margin: 0.25rem 0 0;
  text-transform: uppercase;
  letter-spacing: 0.225rem;
  width: calc(100% + 0.225rem);
  font-size: 0.75em;
  line-height: 1.5;
  font-weight: 400;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-nav a {
  display: inline-block;
  min-width: 6.5rem;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 1.625rem;
  color: var(--text);
  height: 2.25rem;
  line-height: calc(2.25rem - 2px);
  text-transform: uppercase;
  letter-spacing: 0.225rem;
  padding: 0 0.75rem;
  font-size: 0.625em;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-color: var(--brand);
  color: var(--brand);
}

.site-main {
  display: grid;
  gap: var(--space-3);
}

.hero {
  display: grid;
  gap: var(--space-1);
}

.hero h1 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.4rem;
  width: calc(100% + 0.4rem);
  font-size: 1em;
  line-height: 1.5;
  font-weight: 400;
}

.hero__lead {
  margin: 0;
  letter-spacing: 0.025rem;
  width: calc(100% + 0.025rem);
  line-height: 1.875;
  color: var(--text-soft);
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fcfcfc;
  padding: 1rem;
}

.stack-sm > * + * {
  margin-top: 0.625rem;
}

.stack-lg > * + * {
  margin-top: 1.25rem;
}

h2 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.225rem;
  width: calc(100% + 0.225rem);
  font-size: 0.8em;
  font-weight: 400;
}

h3 {
  margin: 0;
  letter-spacing: 0.08rem;
  font-size: 0.72em;
  text-transform: uppercase;
  color: var(--text-soft);
}

p {
  margin: 0;
  letter-spacing: 0.025rem;
  line-height: 1.875;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.65;
}

li + li {
  margin-top: 0.4rem;
}

.checklist {
  list-style: none;
  padding-left: 0;
}

.checklist li::before {
  content: "\2713";
  margin-right: 0.5rem;
  color: var(--brand);
}

.service-grid {
  display: grid;
  gap: var(--space-3);
}

.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.cta-box {
  border-top: 1px solid var(--line);
  padding-top: var(--space-3);
}

.button-primary {
  display: inline-block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 1.625rem;
  color: var(--text);
  height: 2.25rem;
  line-height: calc(2.25rem - 2px);
  text-transform: uppercase;
  letter-spacing: 0.225rem;
  padding: 0 1rem;
  font-size: 0.625em;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.button-primary:hover {
  color: #0213b3;
  border-color: #0213b3;
}

.form-stack {
  display: grid;
  gap: 0.65rem;
}

.form-stack label {
  display: grid;
  gap: 0.35rem;
  letter-spacing: 0.04rem;
  font-size: 0.7em;
  text-transform: uppercase;
}

input,
textarea {
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  padding: 0.75rem;
  width: 100%;
  font: inherit;
  color: var(--text);
  background: #fff;
}

textarea {
  resize: vertical;
}

button {
  justify-self: start;
  border: 1px solid var(--line);
  border-radius: 1.625rem;
  background: transparent;
  color: var(--text);
  height: 2.25rem;
  line-height: calc(2.25rem - 2px);
  text-transform: uppercase;
  letter-spacing: 0.225rem;
  padding: 0 1rem;
  font-size: 0.625em;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}

button:hover {
  color: var(--brand);
  border-color: var(--brand);
}

.legal article {
  border-top: 1px solid var(--line);
  padding-top: var(--space-2);
}

.legal article:first-child {
  border-top: 0;
  padding-top: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  display: grid;
  gap: 0.2rem;
}

.site-footer p {
  font-size: 0.75em;
  color: var(--text-soft);
}

a {
  color: inherit;
}

.site-footer a {
  text-decoration: underline;
}

.result {
  margin-top: 0.8rem;
  border-radius: 0.45rem;
  padding: 0.7rem;
  font-size: 0.82em;
}

.result-success {
  background: #ebf8ee;
  color: #23642b;
}

.result-error {
  background: #fdecec;
  color: #8f1e1e;
}
