/* ShelfKept — Warm Library Theme v2
   Tone: a well-loved reading room. Parchment, warm amber, serif headings.
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --parchment:   #faf8f3;
  --paper:       #f4f0e8;
  --ink:         #2c2416;
  --ink-soft:    #5a4e3a;
  --ink-faint:   #9c8e78;
  --amber:       #c8860a;
  --amber-light: #f5c842;
  --rust:        #c0451a;
  --sage:        #4a7c59;
  --border:      #d4c4a0;
  --shadow-xs:   0 1px 3px rgba(44,36,22,.08);
  --shadow-sm:   0 2px 8px rgba(44,36,22,.10);
  --shadow-md:   0 4px 20px rgba(44,36,22,.12);
  --radius:      10px;
  --serif:       'Georgia', 'Times New Roman', serif;
  --sans:        'Segoe UI', system-ui, -apple-system, sans-serif;
  --brown-mid:   #6b5d44;
  --brown-warm:  #7a5c3d;
  --card-bg:     #fbf7ed;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--parchment);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */

h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.2; }

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: normal; letter-spacing: -.5px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: normal; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; font-weight: 600; }

p { color: var(--ink-soft); margin-bottom: 1rem; }

a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }

em.highlight { color: var(--amber); font-style: normal; }

/* ── NAV ─────────────────────────────────────────────────────── */

.site-nav {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  padding: .75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav .brand {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--brown-mid);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  font-weight: 400;
}

.site-nav .brand em {
  font-style: italic;
  color: var(--brown-mid);
}

.site-nav .nav-links a {
  color: var(--ink-faint);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: .88rem;
  transition: color .2s;
}

.site-nav .nav-links a:hover { color: var(--ink-soft); }

/* ── HERO ────────────────────────────────────────────────────── */

.hero {
  background: var(--ink);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(200,134,10,.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 3rem 5rem 4rem;
  position: relative;
}

.hero-text { flex: 1; text-align: left; }

.hero-illustration {
  flex: 0 0 240px;
  opacity: .92;
}

.hero .eyebrow {
  display: inline-block;
  color: #b89070;
  font-size: .8rem;
  font-weight: 400;
  font-family: var(--serif);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.hero h1 { color: var(--parchment); margin-bottom: 1.25rem; }
.hero h1 em { color: var(--amber-light); font-style: normal; }

.hero .subtitle {
  font-size: 1.1rem;
  color: #c8bba0;
  max-width: 500px;
  margin: 0 0 2.5rem;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

.hero .footnote { margin-top: 2rem; font-size: .78rem; color: rgba(200,185,160,.45); }

@media (max-width: 760px) {
  .hero-inner { flex-direction: column; padding: 3rem 1.5rem; }
  .hero-illustration { flex: 0 0 auto; width: 180px; }
  .hero-text { text-align: center; }
  .hero-actions { justify-content: center; }
}

/* ── BUTTONS ─────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: .8rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, opacity .15s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }

.btn-primary { background: var(--amber); color: #fff; }
.btn-ghost   { background: transparent; color: var(--parchment); border: 1.5px solid rgba(200,185,160,.35); }
.btn-ghost:hover { border-color: rgba(200,185,160,.7); }
.btn-ink     { background: var(--ink); color: var(--parchment); }
.btn-amber-outline { background: transparent; color: var(--amber); border: 1.5px solid var(--amber); }

/* ── AUDIENCE DOOR GRID ─────────────────────────────────────── */

.audience-section {
  padding: 4rem 2rem;
  background: var(--paper);
}

.audience-section .section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.audience-section .section-heading h2 {
  font-size: 1.4rem;
  color: var(--ink);
  font-weight: 400;
}

.door-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
}

.door-card {
  background: var(--card-bg);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  text-decoration: none;
  color: var(--ink);
  transition: background .2s, box-shadow .2s;
  display: block;
}
.door-card:hover {
  background: #f6f1e7;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--ink);
}

.door-card .door-icon {
  font-size: 22px;
  color: var(--brown-warm);
  margin-bottom: .75rem;
  display: block;
  line-height: 1;
}
.door-card .door-icon .ti {
  font-size: 22px;
  color: var(--brown-warm);
}

.door-card h3 {
  font-size: 15px;
  color: #2a2418;
  font-weight: 500;
  font-family: var(--serif);
  margin-bottom: .35rem;
}
.door-card .tagline { font-size: .85rem; color: var(--amber); font-style: italic; margin-bottom: .5rem; }
.door-card p { font-size: 13px; color: #5a4f3a; margin: 0; line-height: 1.5; }

/* ── FEATURE GRID ────────────────────────────────────────────── */

.feature-section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-heading { text-align: center; margin-bottom: 3rem; }
.section-heading .label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .4rem;
}

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.5rem; }

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-card .icon { font-size: 1.8rem; margin-bottom: .85rem; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.feature-card p { font-size: .88rem; color: var(--ink-soft); margin: 0; }

/* ── HOW IT WORKS / STEPS ───────────────────────────────────── */

.steps-section {
  background: var(--ink);
  color: var(--parchment);
  padding: 4rem 2rem;
  border-top: 0.5px solid var(--border);
}

.steps-section .section-heading { text-align: center; margin-bottom: 2.5rem; }
.steps-section .section-heading .label { color: var(--amber-light); }
.steps-section h2 { color: var(--parchment); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.step-item { text-align: center; }
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .9rem;
}
.step-item h3 { color: var(--parchment); font-size: .95rem; margin-bottom: .35rem; }
.step-item p  { font-size: .85rem; color: #9c8e78; margin: 0; }

/* ── TEXT SECTION (closing note etc.) ────────────────────────── */

.text-section {
  padding: 3rem 2rem;
  text-align: center;
  border-top: 0.5px solid var(--border);
}

.text-section .page-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--brown-mid);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── QUOTE BANNER ────────────────────────────────────────────── */

.quote-section {
  background: #fffbf0;
  border-top: 1px solid #ede5cc;
  border-bottom: 1px solid #ede5cc;
  padding: 4rem 2rem;
  text-align: center;
}

.quote-section blockquote {
  max-width: 680px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink);
  line-height: 1.7;
}
.quote-section blockquote strong { color: var(--amber); font-weight: normal; font-style: italic; }
.quote-section .attribution { margin-top: 1rem; font-size: .82rem; color: var(--ink-faint); }

/* ── CTA BANNER ──────────────────────────────────────────────── */

.cta-section {
  background: var(--amber);
  padding: 5rem 2rem;
  text-align: center;
}
.cta-section h2 { color: var(--ink); margin-bottom: 1rem; }
.cta-section p  { color: rgba(44,36,22,.75); margin-bottom: 2rem; font-size: 1.1rem; }
.cta-section .btn-ink { box-shadow: 0 4px 16px rgba(44,36,22,.25); }

/* ── STANDARD PAGE CONTENT ───────────────────────────────────── */

.page-hero {
  background: var(--ink);
  color: var(--parchment);
  padding: 4rem 2rem;
  text-align: center;
}
.page-hero h1 { color: var(--parchment); }
.page-hero p  { color: #c8bba0; margin: .75rem auto 0; max-width: 540px; }

.page-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.page-content h2 { margin: 2.5rem 0 .75rem; }
.page-content p  { margin-bottom: 1.1rem; }

/* ── FOOTER ──────────────────────────────────────────────────── */

.site-footer {
  background: var(--paper);
  color: var(--brown-mid);
  text-align: center;
  padding: 2rem;
  font-size: 13px;
  border-top: 0.5px solid var(--border);
}
.site-footer a { color: var(--brown-mid); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }

/* ── UTILS ───────────────────────────────────────────────────── */

.text-center { text-align: center; }
.max-w-lg { max-width: 680px; margin-left: auto; margin-right: auto; }


/* ── DOWNLOAD / PLATFORM GRID ───────────────────────────────── */

.download-section {
  text-align: center;
  margin: 2.5rem 0;
}
.download-section h2 { margin-bottom: .75rem; }
.download-section .page-note { color: var(--brown-mid); font-size: .9rem; margin-bottom: 1.5rem; }

.platform-grid {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* Coming-soon platform buttons: subdued, not clickable */
.platform-btn--soon {
  background: transparent;
  color: var(--brown-mid);
  border: 1.5px solid var(--border);
  opacity: 0.7;
  cursor: default;
  pointer-events: none;
}
.platform-btn--soon:hover {
  transform: none;
  box-shadow: none;
}
