/* Page Commons — landing page
   FT-inspired "Margin" layout: warm salmon paper, deep claret accent,
   Georgia editorial serif. Recreated from the approved design; shares no
   code or data with the app at read.pagecommons.com. */

:root {
  --paper:      #FFF1E5; /* FT salmon-pink — page & card */
  --card:       #FFFBF6; /* conversation card fill */
  --pillars-bg: #F8E4D5; /* pillars band */
  --ink:        #33302E; /* near-black body */
  --ink-soft:   #4a4642; /* lede */
  --ink-muted:  #54504b; /* pillar body */
  --claret:     #990F3D; /* accent: buttons, links, marks */
  --grey-brown: #666158; /* microcopy */
  --grey-faint: #8a7d70; /* colophon */
  --grey-label: #a08f80; /* small caps labels */
  --rule:       #EAD9CB; /* hairline dividers */

  --serif: Georgia, 'Times New Roman', serif;
  --sans:  'Instrument Sans', system-ui, sans-serif;
  --mono:  'Space Mono', ui-monospace, monospace;

  --gutter: 56px; /* horizontal section padding at desktop */
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
}

body {
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--claret); text-decoration: none; }

.page {
  width: 1140px;
  max-width: 100%;
  margin: 0 auto;
  background: var(--paper);
  overflow: hidden;
}

/* ---- nav ---- */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px var(--gutter);
  border-bottom: 1px solid var(--rule);
}
.wordmark { font-weight: 700; font-size: 20px; letter-spacing: .01em; }
.tagline  { font-style: italic; font-size: 15px; color: var(--claret); }

/* ---- hero ---- */
.hero {
  padding: 88px var(--gutter) 64px;
  max-width: 900px;
}
.eyebrow {
  margin: 0 0 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--claret);
}
.headline {
  margin: 0 0 28px;
  font-weight: 400;
  font-size: 62px;
  line-height: 1.06;
  letter-spacing: -.01em;
}
.headline em { font-style: italic; color: var(--claret); }
.lede {
  margin: 0 0 40px;
  max-width: 600px;
  font-size: 21px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.cta-row {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  background: var(--claret);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  padding: 16px 30px;
  border-radius: 2px;
}
.btn:hover { background: #7d0c32; }
.cta-note {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--grey-brown);
}

/* ---- artifact ---- */
.artifact { padding: 24px var(--gutter) 88px; }
.artifact-grid {
  border-top: 1px solid var(--rule);
  padding-top: 44px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
}
.kicker {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--grey-label);
}
.artifact-caption {
  margin: 0;
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: var(--grey-brown);
}
.convo-card {
  background: var(--card);
  border: 1px solid var(--rule);
  padding: 36px 40px;
}
.convo-context {
  margin: 0 0 20px;
  font-size: 14px;
  font-style: italic;
  color: var(--claret);
}
.convo-context b { font-style: normal; }
.convo-turn { padding-left: 20px; }
.convo-companion {
  border-left: 2px solid var(--claret);
  margin-bottom: 20px;
}
.speaker {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey-label);
}
.convo-text {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}
.convo-you .convo-text { color: var(--ink); }

/* ---- three pillars ---- */
.pillars {
  background: var(--pillars-bg);
  padding: 64px var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.pillar-label {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--claret);
}
.pillar-title {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 23px;
}
.pillar-body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* ---- closing cta ---- */
.closing {
  padding: 72px var(--gutter);
  text-align: center;
}
.closing-title {
  margin: 0 0 24px;
  font-weight: 400;
  font-size: 34px;
  font-style: italic;
}
.colophon {
  margin: 40px 0 0;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--grey-faint);
}

/* ---------- responsive ---------- */

/* tablet: relax the fixed two-column artifact + tighten gutters */
@media (max-width: 900px) {
  :root { --gutter: 40px; }

  .hero { padding: 64px var(--gutter) 48px; }
  .headline { font-size: 48px; }
  .lede { font-size: 19px; }

  .artifact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pillars {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* phone: single column, scaled type, comfortable touch targets */
@media (max-width: 560px) {
  :root { --gutter: 22px; }

  .nav {
    padding: 22px var(--gutter);
    gap: 12px;
  }
  .tagline { font-size: 13px; }

  .hero { padding: 48px var(--gutter) 40px; }
  .headline { font-size: 36px; line-height: 1.1; }
  .lede { font-size: 18px; }

  .cta-row { gap: 14px; }
  .btn { display: block; text-align: center; width: 100%; }
  .cta-note { width: 100%; }

  .artifact { padding: 16px var(--gutter) 64px; }
  .convo-card { padding: 28px 24px; }
  .convo-text { font-size: 17px; }

  .pillars { padding: 48px var(--gutter); }

  .closing { padding: 56px var(--gutter); }
  .closing-title { font-size: 27px; }
}
