/* SpiresPress Software v2 — Stripe-harvested layout (tokens in tokens.css) */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--col); margin: 0 auto; padding: 0 24px; }
a { color: inherit; }

/* header (Stripe-style: light, airy, blurple accent) */
header { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); z-index: 10; }
header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.brand { font-weight: 600; font-size: 1.05rem; text-decoration: none; color: var(--ink); }
.brand span { color: var(--ink-faint); font-weight: 400; }
nav { display: flex; gap: 28px; align-items: center; }
nav a { font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); text-decoration: none; }
nav a:hover { color: var(--accent); }
nav a.contact { color: var(--accent); font-weight: 600; }
nav a.contact:hover { color: var(--accent-deep); }

/* hero (Stripe: light-weight large type, generous space) */
.hero { padding-top: 104px; padding-bottom: 88px; max-width: 980px; }
h1 {
  font-family: var(--sans); font-weight: 400; letter-spacing: -0.02em;
  font-size: var(--fs-h1); line-height: 1.12; margin: 0 0 24px; color: var(--ink);
}
.lede { font-size: 1.13rem; color: var(--ink-soft); max-width: 660px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn { display: inline-block; padding: 11px 20px; border-radius: var(--radius-md); font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-deep); }
.btn.ghost { color: var(--accent); }
.btn.ghost:hover { text-decoration: underline; }

/* products */
#products { padding-top: 56px; padding-bottom: 26px; }
h2 { font-size: var(--fs-h2); font-weight: 400; letter-spacing: -0.015em; margin: 0 0 8px; }
h2 + .section-note { margin-bottom: 36px; }
.section-note { color: var(--ink-faint); margin: 0 0 34px; font-size: 0.98rem; }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.prod {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 22px 20px; text-decoration: none; display: flex; flex-direction: column; gap: 10px;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.prod:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); border-color: var(--accent); }
.prod-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.prod h3 { margin: 0; font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.prod p { margin: 0; color: var(--ink-soft); font-size: 0.89rem; line-height: 1.55; flex-grow: 1; }
.prod-link { font-size: 0.78rem; color: var(--accent); font-weight: 500; letter-spacing: 0.01em; }

.status { font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; white-space: nowrap; font-weight: 600; }
.status.live { color: var(--green); background: rgba(13, 102, 36, 0.08); border: 1px solid rgba(13, 102, 36, 0.22); }
.status.building { color: var(--ink-soft); background: var(--paper-deep); border: 1px solid var(--line); }

/* The Press (literary: serif, big quote, bookish air) */
.press { background: var(--navy-panel); color: #f0f4fa; margin-top: 64px; padding: 88px 0; }
.press-title { font-family: var(--serif); font-size: var(--fs-h2); font-weight: 500; margin: 0 0 28px; color: #fff; }
.bigquote {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  line-height: 1.35; margin: 0 0 40px; max-width: 860px; color: #ffffff;
  border-left: 3px solid var(--accent); padding-left: 28px; font-weight: 400;
}
.press-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 980px; }
.press-col h3 { font-family: var(--serif); font-size: 1.08rem; font-weight: 500; margin: 0 0 10px; color: #fff; }
.press-col p { color: #b6c2d4; font-size: 0.95rem; line-height: 1.65; margin: 0; }

/* about */
.about { max-width: 720px; padding-top: 64px; }
.about h2 { font-size: var(--fs-h2); }
.about p { color: var(--ink-soft); font-size: 1.03rem; margin: 0 0 16px; }

/* footer */
footer { border-top: 1px solid var(--line); margin-top: 88px; background: var(--paper-deep); }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 24px; flex-wrap: wrap; }
.foot-note { font-size: 0.78rem; color: var(--ink-faint); letter-spacing: 0.03em; }
footer a { font-size: 0.9rem; color: var(--ink-soft); text-decoration: none; }
footer a:hover { color: var(--accent); }

/* responsive */
@media (max-width: 900px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .press-cols { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .products { grid-template-columns: 1fr; }
  nav a:not(.contact) { display: none; }
  .hero { padding-top: 64px; }
}
