/* Public site (home, sign-up, sign-in). Builds on styles.css tokens. */
:root {
  --ink: #18212c;
  --navy: #1f2a37;
  --slate: #8fa4b8;          /* logo colour */
  --slate-soft: #eef2f6;
  --paper: #fbfbf9;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}
body.site { background: var(--paper); color: var(--ink); }
.site-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.site-narrow { max-width: 460px; margin: 0 auto; padding-top: 40px; }
.site-narrow.wide { max-width: 640px; }

.site-header { background: #fff; border-bottom: 1px solid #e6e8ec; position: sticky; top: 0; z-index: 5; }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; }
.site-brand.small { font-size: 1rem; gap: 8px; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav a:not(.button) { color: #3d4652; text-decoration: none; }
.site-nav a:not(.button):hover { color: var(--accent); }
.button.large { padding: 11px 20px; font-size: 1rem; }

.hero { padding: 64px 0 56px; background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: #5d7286; margin: 0 0 14px; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 18px; color: var(--navy); }
.lead { font-size: 1.12rem; line-height: 1.6; color: #3a4350; margin: 0 0 26px; max-width: 34em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: .9rem; color: #66707c; }

.mock-brief { background: #fff; border: 1px solid #e1e4e8; border-radius: 12px; padding: 22px 24px; box-shadow: 0 18px 40px -24px rgba(24, 33, 44, .35); font-size: .92rem; }
.mock-head { display: flex; justify-content: space-between; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: #6b7480; }
.mock-headline { font-family: var(--serif); font-size: 1.08rem; line-height: 1.45; margin: 10px 0 14px; color: var(--navy); }
.mock-section { font-weight: 700; font-size: .85rem; padding-bottom: 4px; margin-top: 12px; border-bottom: 2px solid; }
.mock-section.red { color: #b42318; } .mock-section.blue { color: #1a5fb4; } .mock-section.green { color: #2f7d32; }
.mock-items { margin: 8px 0 0; padding-left: 20px; }
.mock-items li { margin-bottom: 8px; }
.mock-items b { display: block; }
.mock-items span { display: block; color: #4b5563; font-size: .85rem; }
.mock-items em { display: block; font-style: normal; color: #8a929c; font-size: .75rem; }
.mock-foot { margin: 12px 0 0; font-size: .75rem; color: #8a929c; border-top: 1px solid #eef0f2; padding-top: 10px; }

.band { padding: 64px 0; }
.band.alt { background: var(--slate-soft); }
.band h2, .cta-band h2 { font-family: var(--serif); font-weight: 600; font-size: 1.8rem; color: var(--navy); margin: 0 0 22px; letter-spacing: -0.01em; }
.band h3 { font-size: 1.05rem; margin: 0 0 6px; }
.band p { line-height: 1.6; color: #3a4350; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps li { background: #fff; border: 1px solid #e3e6ea; border-radius: 10px; padding: 20px; }
.step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--slate); color: #fff; font-weight: 700; margin-bottom: 12px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { background: #fff; border-radius: 8px; padding: 14px 16px; border-left: 4px solid var(--slate); line-height: 1.45; color: #3a4350; }
.checklist b { display: block; color: var(--ink); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.more { margin-top: 18px; }
.cta-band { background: var(--navy); color: #e8edf2; padding: 48px 0; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; color: #c3ccd6; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.site-footer { border-top: 1px solid #e6e8ec; padding: 26px 0 30px; background: #fff; }
.site-footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer nav a { color: #4b5563; text-decoration: none; }
.fine { font-size: .78rem; color: #8a929c; margin: 14px 0 0; }

.auth-card { padding: 28px; margin-bottom: 40px; }
.auth-card h1 { font-family: var(--serif); font-weight: 600; color: var(--navy); }
.auth-links { margin: 16px 0 0; font-size: .9rem; color: #66707c; }
.inline-form { margin: 0 0 14px; }
.prose { padding-bottom: 48px; line-height: 1.65; }
.prose h1 { font-family: var(--serif); color: var(--navy); }
.prose h2 { font-size: 1.15rem; margin-top: 28px; }
.prose li { margin-bottom: 6px; }

@media (max-width: 900px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cards.three { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .site-nav a:not(.button) { display: none; }
  .site-nav a[href="/login"] { display: inline; }
  .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
}
@media (max-width: 560px) {
  .site-header-inner { height: 56px; }
  .site-brand { font-size: 1.1rem; }
  .site-nav { gap: 10px; }
  .site-nav a { white-space: nowrap; }
  .site-nav .button { padding: 6px 10px; font-size: .85rem; }
}
