/* Comparative Shopping public homepage ("reserved for" page).
   Same layout and colours as the Childsplay Accounting website
   (childsplay-accounting-v2/website/styles.css), without the colour bar and logo. */

:root {
  --page-bg: #a2cffe;      /* light blue background */
  --text-light: #ffffff;   /* main text */
  --text-dark: #1c1c1c;    /* header title */
  --footer-text: #351c75;  /* dark purple footer text */
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--page-bg);
  color: var(--text-light);
  font-family: Roboto, Arial, sans-serif;
  font-size: 12pt;
  line-height: 1.5;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  padding: 0.5rem 1rem;
  background: #ffffff;
  color: var(--text-dark);
  z-index: 10;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-dark);
  font-size: 15pt;
  text-decoration: none;
}

.brand:hover {
  opacity: 0.82;
}

/* Main content */
.hero {
  flex: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem 6rem;
  font-family: Lato, Arial, sans-serif;
  font-weight: 700;
  text-align: center;
}

.reserved {
  /* Takes the place of the Childsplay colour bar's spacing */
  margin: 114pt 0 1.5em;
  font-size: 12pt;
}

.title {
  margin: 0;
  font-size: 24pt;
  font-weight: 700;
  line-height: 1.5;
}

.domains {
  list-style: none;
  margin: 18pt 0 0;
  padding: 0;
  font-size: 14pt;
}

.domains li + li {
  margin-top: 18pt;
}

.association {
  margin: 120pt 0 0;
  font-size: 14pt;
}

/* Footer */
.site-footer {
  padding: 1.5rem 1rem 2rem;
  color: var(--footer-text);
  font-family: Arial, sans-serif;
  font-size: 10pt;
  text-align: center;
}

.site-footer p {
  margin: 0.5em 0 0;
}

/* Smaller screens: same breakpoints as the original title sizes */
@media (max-width: 767px) {
  .title { font-size: 22pt; }
  .reserved { margin-top: 72pt; }
  .association { margin-top: 72pt; }
}

@media (max-width: 479px) {
  .title { font-size: 20pt; }
}
