/* easycareapps.co.uk. The same colours and type as the application, so the
   two read as one product. No web fonts, no images, nothing from elsewhere. */

:root {
  --ink: #16202a;
  --ink-soft: #566573;
  --paper: #ffffff;
  --wash: #f4f6f8;
  --line: #d0d8df;
  --accent: #0b5f7d;
  --accent-ink: #ffffff;
  --error: #8a1c1c;
  --error-wash: #fdeaea;
  --radius: 6px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--wash);
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.top {
  background: var(--ink);
  color: var(--accent-ink);
}
.top__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
}
.brand { font-weight: 700; font-size: 1.1rem; }
.top__note { color: #c9d3dc; font-size: 0.9rem; }

.button {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.button:hover, .button:focus-visible { background: #084b63; }
.top .button { border-color: #ffffff; }

.hero { padding: 36px 0 20px; }
.hero h1 { margin: 0 0 8px; font-size: 2rem; line-height: 1.2; }
.hero p { margin: 0; max-width: 46rem; font-size: 1.15rem; color: var(--ink-soft); }

.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 36px;
}
.tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.tile h2 { margin: 0 0 4px; font-size: 1.15rem; color: var(--accent); }
.tile p { margin: 0; }

.foot {
  border-top: 1px solid var(--line);
  padding: 14px 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* The trial page. */
.trial__title { margin: 20px 0 6px; font-size: 1.5rem; }
.trial__hint { color: var(--ink-soft); }
code { font-size: 0.95em; background: var(--paper); padding: 0 3px; border-radius: 3px; }
.trial {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
}
.trial__label { font-weight: 600; }
.trial__input {
  flex: 1 1 320px;
  min-width: 0;
  padding: 7px 10px;
  border: 1px solid #9fadb8;
  border-radius: var(--radius);
  font: inherit;
}
.trial__problem {
  padding: 8px 12px;
  border-radius: var(--radius);
  background: var(--error-wash);
  color: var(--error);
}
.trial__frame {
  display: block;
  width: 100%;
  height: 1200px;
  margin: 10px 0 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
[hidden] { display: none !important; }

@media (max-width: 700px) {
  .three { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.6rem; }
}
