/* cleverlittlegoose.com — the pages that aren't documents.
 *
 * Home, about and contact. legal.css comes first and owns everything shared:
 * the palette, the type, the sticky header and its menu, the footer. This
 * file adds only what those three pages need and nothing else uses, which is
 * why the archived copies of old policies — which link legal.css and nothing
 * else — are unaffected by anything in here.
 *
 * Load order matters: legal.css, then this.
 */

/* --- the column --------------------------------------------------------- */
/* Same width and same gutter as .layout, so the measure doesn't change when
   you walk from the about page into the privacy policy. */
.page {
  max-width: 46rem;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 2.5rem;
  padding-bottom: 1rem;
}

/* The legal pages widen their bar and footer to 66rem at this width while
   their text stays narrow. Repeated here for the same reason it exists
   there: the wordmark sits at a different x on two pages of one site
   otherwise, and it shifts under you as you navigate. */
@media (min-width: 1100px) {
  .topbar .in,
  footer .in { max-width: 66rem; }
}

@media (max-width: 600px) {
  .page { padding-left: 1.1rem; padding-right: 1.1rem; }
}

/* --- the hero ----------------------------------------------------------- */
.hero {
  text-align: center;
  padding-top: 3rem;
  padding-bottom: 1rem;
}

.hero h1 {
  font-size: 3rem;
  letter-spacing: -0.035em;
  margin: 0.4rem 0 0;
}

.hero .lead {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--muted);
  max-width: 34rem;
  margin: 0 auto;
}

.hero .lead strong { color: var(--ink); font-weight: 600; }

.goose {
  display: block;
  width: 140px;
  height: auto;
  margin: 0 auto 0.6rem;
}

/* Gordon bobs. He did on the old page too, and there is no reason for a
   goose to stand perfectly still. */
@media (prefers-reduced-motion: no-preference) {
  .goose { animation: float 3s ease-in-out infinite; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.divider {
  width: 50px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 1.4rem auto 1.6rem;
}

.divider.left { margin-left: 0; margin-right: 0; }

@media (max-width: 600px) {
  .hero { padding-top: 1.6rem; }
  .hero h1 { font-size: 2.3rem; }
  .hero .lead { font-size: 1.05rem; }
  .goose { width: 108px; }
}

/* --- the products ------------------------------------------------------- */
/* A list rather than a grid of three. Three columns inside a 46rem measure
   gives each product 13rem, which is not enough room to say anything true
   about it, and the list reads the same at every width. */
.products {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
  margin: 0;
  padding: 1.7rem 0;
  border-top: 1px solid var(--rule);
}

.product:last-child { border-bottom: 1px solid var(--rule); }

.product img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: block;
}

/* Cred Count and Acta Anseris carry their own tile — a dark rounded square is
   what Cred Count's icon actually is. GooseQuill's mark is a bare quill on
   nothing, so it gets its tile here rather than in a doctored copy of a
   published logo. Three products, three tiles the same size. */
.product img.light {
  background: var(--bg);
  border: 1px solid var(--rule);
  padding: 5px;
}

.product h3 {
  margin: 0 0 0.1rem;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.product p { margin: 0.55rem 0 0; font-size: 0.95rem; }
.product p:first-of-type { margin-top: 0.45rem; }

.product .links {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.1rem;
  font-size: 0.9rem;
}

@media (max-width: 560px) {
  .product { grid-template-columns: 1fr; gap: 0.9rem; }
  .product img { width: 52px; height: 52px; }
}

/* --- the status chip ---------------------------------------------------- */
.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 0.22rem 0.6rem;
  border-radius: 99px;
  border: 1px solid var(--rule);
  color: var(--muted);
  background: var(--panel);
  vertical-align: 0.18em;
  margin-left: 0.5rem;
  white-space: nowrap;
}

.tag.live { color: #7a4a10; border-color: rgba(230, 126, 34, 0.45); background: rgba(230, 126, 34, 0.1); }

@media (max-width: 560px) {
  .tag { margin-left: 0; margin-top: 0.4rem; }
  .product h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.5rem; }
}

/* --- panels and fact lists ---------------------------------------------- */
.panel {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.4rem 1.5rem;
  margin: 1.6rem 0;
}

.panel > :last-child { margin-bottom: 0; }
.panel h2 { margin-top: 0; font-size: 1.1rem; }

/* The registration details. A description list, because that is what it is:
   a label and the fact it names. Anyone checking us against a register is
   reading this in pairs, so it is set in pairs. */
.facts {
  margin: 0;
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
  gap: 0.55rem 1.4rem;
  font-size: 0.95rem;
}

.facts dt {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding-top: 0.22rem;
}

.facts dd { margin: 0; }
.facts dd address { font-style: normal; }

@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; gap: 0.15rem; }
  .facts dd { margin-bottom: 0.9rem; }
  .facts dd:last-child { margin-bottom: 0; }
}

/* --- the arrow link ----------------------------------------------------- */
/* Same shape as the "See what changed →" control on the versions page, so a
   forward step looks the same everywhere on the site. */
.more {
  display: inline-block;
  font-weight: 600;
  border-bottom: 1px solid var(--accent);
}

.more .arw {
  display: inline-block;
  margin-left: 0.35em;
  transition: transform 0.15s ease;
}

.more:hover .arw { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  .more .arw { transition: none; }
  .more:hover .arw { transform: none; }
}

/* --- contact ------------------------------------------------------------ */
.addresses {
  list-style: none;
  margin: 0;
  padding: 0;
}

.addresses li {
  margin: 0;
  padding: 1.1rem 0;
  border-top: 1px solid var(--rule);
}

.addresses li:last-child { border-bottom: 1px solid var(--rule); }

.addresses .what {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* The address itself, not the links inside the sentence under it. Unscoped,
   this set "privacy policy" and "Terms §10" in the same weight and size as
   the mailto: above them, which made the aside compete with the address it
   was describing. */
.addresses > li > a { font-weight: 600; font-size: 1.02rem; }
.addresses .what a { color: var(--muted); }
.addresses .what a:hover { color: var(--accent); }

/* --- print -------------------------------------------------------------- */
@media print {
  .goose { animation: none; }
  .more .arw { display: none; }
}
