/* Agora — static pages. Hephaistox dark/copper theme. */

:root {
  --ink: #1b1a17;
  --ink-2: #262019;
  --paper: #fff;
  --cream: #f7f2e8;
  --cream-line: #ece0c8;
  --sand: #f4f0ea;
  --sand-line: #cbb98f;
  --copper: #b9770e;
  --gold: #d99a2b;
  --link-warm: #d9b38c;
  --on-dark: #e8e2d6;
  --on-dark-title: #f0e6d2;
  --on-dark-muted: #c9c1b2;
  --text: #2a2723;
  --muted: #5c5648;
  --faint: #8a8377;
  --card-line: #e2ddd2;
  --bubble: #faf5ea;
  --bubble-line: #e6d9bd;
  --bubble-ink: #7a5a12;
  --serif: Georgia, "Cormorant Garamond", serif;
  --sans: system-ui, sans-serif;
}

@font-face {
  font-family: "Agora Brands";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../fonts/fa-brands-400.woff2") format("woff2");
}

html,
body {
  margin: 0;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
}

/* --- header ------------------------------------------------------------- */

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6em 1.1em;
  padding: 0.6em 1em;
  background: var(--ink);
  color: var(--on-dark);
  border-bottom: 2px solid var(--copper);
}

.brand {
  display: flex;
  align-items: flex-start;
  gap: 0.3em;
}

.brand__name {
  font-family: var(--serif);
  font-size: 1.4em;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--gold);
  text-decoration: none;
}

.brand__beta {
  margin-top: 0.25em;
  padding: 0.15em 0.45em;
  border-radius: 0.25em;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.6em;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
}

/* --- page --------------------------------------------------------------- */

main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 60em;
  margin: 1.5em auto;
  padding: 0 0.9em;
  box-sizing: border-box;
}

.button {
  display: inline-block;
  padding: 0.7em 1.6em;
  border-radius: 0.4em;
  background: var(--copper);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.section {
  margin: 3.2em 0;
  padding: 2em 1.6em;
  border-radius: 0.9em;
}

.eyebrow {
  margin-bottom: 0.35em;
  color: var(--copper);
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: var(--serif);
}

h2 {
  margin: 0 0 1.4em;
  color: var(--ink);
  font-size: clamp(1.4em, 3.2vw, 2em);
}

/* hero */

.hero {
  margin-bottom: 2em;
  padding: 2.6em 1.4em;
  border-radius: 0.8em;
  background: linear-gradient(160deg, var(--ink), var(--ink-2));
  color: var(--on-dark);
  text-align: center;
}

.hero h1 {
  margin: 0 0 0.5em;
  color: var(--on-dark-title);
  font-size: clamp(1.7em, 4.4vw, 2.7em);
  line-height: 1.16;
}

.hero p {
  max-width: 40em;
  margin: 0 auto 1.5em;
  color: var(--on-dark-muted);
  font-size: 1.08em;
  line-height: 1.6;
}

/* living example */

.living {
  background: var(--cream);
  border: 1px solid var(--cream-line);
}

.edition {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1.2em;
}

.edition__graph {
  flex: 1 1 21em;
  min-width: 16em;
}

.edition__graph img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--card-line);
  border-radius: 0.6em;
  background: #faf8f3;
}

.edition__text {
  flex: 1 1 18em;
  min-width: 15em;
  display: flex;
  flex-direction: column;
}

.edition__label {
  margin: 0 0 0.4em;
  color: var(--faint);
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.edition__text p {
  margin: 0;
  color: var(--text);
  font-size: 1.04em;
  line-height: 1.65;
}

.cite {
  color: var(--copper);
  text-decoration: underline dotted;
  text-underline-offset: 0.2em;
}

.objection {
  align-self: flex-start;
  margin-top: 1em;
  padding: 0.55em 0.9em;
  border: 1px solid var(--bubble-line);
  border-radius: 1em 1em 1em 0.2em;
  background: var(--bubble);
  color: var(--bubble-ink);
  font-style: italic;
  line-height: 1.4;
}

.edition-arrow {
  display: flex;
  justify-content: center;
  margin: 1.1em 0;
}

/* coming soon */

.soon {
  background: var(--sand);
  border: 1px dashed var(--sand-line);
}

.soon__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9em;
}

.soon__card {
  flex: 1 1 14em;
  min-width: 12em;
  padding: 1.1em 1.2em;
  border: 1px solid var(--card-line);
  border-radius: 0.6em;
  background: #fff;
}

.soon__card h3 {
  margin: 0 0 0.35em;
  color: var(--ink);
  font-size: 1.02em;
}

.soon__card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92em;
  line-height: 1.55;
}

/* what this changes */

.change {
  margin-top: 0;
  margin-bottom: 1em;
  background: var(--ink);
  color: var(--on-dark);
}

.change h2 {
  margin-bottom: 0.6em;
  color: var(--on-dark-title);
}

.change p {
  max-width: 44em;
  margin: 0;
  color: var(--on-dark-muted);
  font-size: 1.05em;
  line-height: 1.75;
}

/* closing call to action */

.cta {
  margin: 3.2em 0 1em;
  text-align: center;
}

.cta h2 {
  margin-bottom: 0.9em;
  font-size: clamp(1.4em, 3.4vw, 2.1em);
}

.cta .button {
  padding: 0.75em 1.7em;
  font-size: 1.05em;
}

/* --- footer ------------------------------------------------------------- */

.site-footer {
  flex-shrink: 0;
  padding: 1.6em 1.2em;
  background: var(--ink);
  color: var(--on-dark);
  border-top: 2px solid var(--copper);
  text-align: center;
}

.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4em 1.2em;
  margin-bottom: 0.9em;
}

.site-footer a {
  color: var(--link-warm);
  font-size: 0.85em;
  text-decoration: none;
}

.site-footer__social {
  gap: 0.2em 1.4em;
  font-size: 1.35em;
}

.site-footer__social a {
  padding: 0.15em;
  font-size: 1em;
  line-height: 1;
}

.site-footer__copy {
  color: var(--faint);
  font-size: 0.8em;
}

/* --- brand icons (Font Awesome brands glyphs) ---------------------------- */

.icon {
  font-family: "Agora Brands";
  font-style: normal;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.icon--linkedin::before {
  content: "\f08c";
}

.icon--facebook::before {
  content: "\f39e";
}

.icon--youtube::before {
  content: "\f167";
}

.icon--github::before {
  content: "\f09b";
}
