/* The landing page of Paraat. Mobile first (390 px), tap targets of at least 48 px, contrast WCAG AA. */
:root {
  --brand: #0b5f5a;
  --brand-dark: #08443f;
  --brand-light: #e3f0ee;
  --background: #f6f7f5;
  --text: #17211f;
  --muted: #3d4a47;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

.wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

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

a:focus-visible,
.button:focus-visible,
.link-button:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
}

.top {
  background: var(--card);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  color: var(--text);
  font-weight: 800;
  font-size: 20px;
  text-decoration: none;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand);
  color: #ffffff;
  font-size: 18px;
}

.link-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px;
  font-weight: 700;
}

.hero {
  padding: 40px 0 32px;
}

h1 {
  margin: 0 0 16px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
}

h2 {
  margin: 40px 0 16px;
  font-size: 26px;
  line-height: 1.2;
}

h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.lead {
  margin: 0;
  max-width: 36em;
  color: var(--muted);
  font-size: 19px;
}

.actions {
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 16px;
  border: 2px solid var(--brand-dark);
  border-bottom-width: 4px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: var(--brand-dark);
}

.cards {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  padding: 20px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.closing {
  margin-top: 16px;
  padding-bottom: 8px;
}

.closing p {
  margin: 0 0 20px;
  color: var(--muted);
}

.footer {
  margin-top: 48px;
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--muted);
  font-size: 15px;
}

@media (min-width: 720px) {
  h1 {
    font-size: 46px;
  }

  .hero {
    padding: 72px 0 48px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
}
