/* Page-specific layout for the Audience site. Colours and sizes come only from the kit's tokens. */

.wordmark {
  font-family: var(--display);
  font-size: calc(var(--size-display) * 1.1);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
}
.rail-tag { margin-left: 14px; font-size: var(--size-small); }
.rail-right { flex-wrap: wrap; justify-content: flex-end; }

.hero { padding: 40px 0 28px; }
.hero h1 { font-size: calc(var(--size-display) * 2); line-height: 1.05; margin-bottom: 20px; }
.lead { font-size: calc(var(--size) * 1.12); max-width: 46em; line-height: 1.55; }
.small { font-size: var(--size-small); }

/* Links that do what a button does get the kit's button look. */
a.button {
  display: inline-block;
  font-family: var(--display); font-size: calc(var(--size-display) * 0.8); letter-spacing: 0.12em; text-transform: uppercase;
  padding: 7px 16px; border-radius: var(--radius); border: 1px solid var(--phos-dim);
  color: var(--phos); text-decoration: none;
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}
a.button:hover { border-color: var(--phos); box-shadow: 0 0 10px var(--halo-soft); text-shadow: none; }
a.button.primary {
  background: var(--phos); color: var(--ground); border-color: var(--phos);
  box-shadow: 0 0 18px var(--halo); font-size: var(--size-display); padding: 10px 26px;
}
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.zone p { max-width: 50em; line-height: 1.6; }
.zone .rows { margin: 8px 0 16px; max-width: 54em; }

/* A sample of the badge as it looks in Obsidian. */
.badge-sample {
  display: inline-block; padding: 0 7px; border-radius: 6px;
  background: var(--amber); color: var(--ground); font-weight: 700; font-size: var(--size-small);
}

/* Screenshots sit in a thin bezel, like a screen inside the screen. */
.shots { display: grid; gap: 18px; margin-top: 16px; }
.shots.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.shots figure { margin: 0; }
.shots img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--bezel); border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--ground), 0 0 22px var(--halo-soft);
}
.shots figcaption { margin-top: 8px; color: var(--phos-dim); font-size: var(--size-small); }

.group-why { max-width: 50em; }

.footer { padding-top: 0; font-size: var(--size-small); }
.shots.one img { max-width: 760px; }
