/* Clickstream Processing — the single stylesheet for every page. */
/* Light theme, one accent color, system fonts only, no external requests. */

:root {
  --accent: #1F6FEB;
  --ink: #1B2430;
  --muted: #5A6A7D;
  --line: #DCE3EC;
  --paper: #FFFFFF;
  --tint: #F3F7FC;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

main { flex: 1; }

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

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

/* Layout container */

.inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */

.site-header { border-bottom: 1px solid var(--line); }

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.brand { font-weight: 700; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--accent); }

.menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.menu a { color: var(--muted); text-decoration: none; }
.menu a:hover { color: var(--ink); text-decoration: underline; }

a.button {
  display: inline-block;
  padding: 0.45rem 1rem;
  background: var(--accent);
  color: #FFFFFF;
  border-radius: 6px;
  text-decoration: none;
}

a.button:hover { color: #FFFFFF; opacity: 0.88; text-decoration: none; }

/* Typography */

h1, h2, h3 { line-height: 1.25; font-weight: 700; }

h1 { font-size: 2rem; margin: 2.2rem 0 0.8rem; }
h2 { font-size: 1.3rem; margin: 2.4rem 0 0.6rem; }

p { margin: 0.6rem 0; }
li { margin: 0.25rem 0; }

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 40em;
}

/* Illustration on the home page */

.diagram {
  margin: 1.8rem 0 0.5rem;
  padding: 1.25rem;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.diagram svg { display: block; width: 100%; height: auto; }

.diagram figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Collection facts: two columns on wide screens */

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.facts h3 { margin: 0 0 0.3rem; font-size: 1.05rem; }
.facts p { margin: 0; color: var(--muted); }

/* Plans */

.plan {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.2rem 1.4rem;
  margin: 1.2rem 0;
}

.plan--featured { border-color: var(--accent); }

.plan-name { margin: 0; font-size: 1.15rem; }
.price { margin: 0.4rem 0 0; font-size: 1.7rem; font-weight: 700; }
.per { font-size: 0.95rem; font-weight: 400; color: var(--muted); }

/* Footer */

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer .inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.site-footer p { margin: 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }

/* Phones */

@media (max-width: 640px) {
  h1 { font-size: 1.55rem; }
  .facts { grid-template-columns: 1fr; }
  .site-header .inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
