:root {
  --text: #1c1f23;
  --muted: #555c66;
  --accent: #2f5d62;
  --accent-dark: #234649;
  --line: #e2e5e9;
  --tint: #f5f7f7;
  --bg: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1rem;
}

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

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

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
  padding: 2rem 0 1.5rem;
}

.site-header h1 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.2;
}

.tagline {
  margin: 0.25rem 0 0.75rem;
  color: var(--muted);
}

.contact-line {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  color: var(--muted);
}

/* Sections */

section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

section:last-child {
  border-bottom: 0;
}

h2 {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
  color: var(--accent);
}

h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.1rem;
}

p {
  margin: 0 0 1rem;
}

.services {
  margin: 0;
  padding-left: 1.25rem;
}

.services li + li {
  margin-top: 0.6rem;
}

/* Pricing */

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

th,
td {
  padding: 0.6rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

thead th {
  background: var(--tint);
  font-weight: 600;
}

tbody th {
  font-weight: 500;
}

td {
  white-space: nowrap;
}

.packages {
  list-style: none;
  margin: 0;
  padding: 0;
}

.packages li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}

.price {
  font-weight: 600;
  white-space: nowrap;
}

.note {
  margin-top: 1rem;
  color: var(--muted);
}

/* Contact */

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.button {
  display: block;
  padding: 0.8rem 1.25rem;
  border: 2px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.button:hover,
.button:focus {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.button-secondary {
  background: transparent;
  color: var(--accent);
}

.button-secondary:hover,
.button-secondary:focus {
  background: var(--tint);
  color: var(--accent-dark);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

/* Wider screens */

@media (min-width: 40rem) {
  .site-header {
    padding: 3rem 0 2rem;
  }

  .site-header h1 {
    font-size: 2.1rem;
  }

  .contact-buttons {
    flex-direction: row;
  }

  .button {
    display: inline-block;
  }
}
