/* Ract marketing/landing site -- see PROJECT_STATUS.md "Landing page +
   routing restructure". Simple B2B site: clean, monochrome, no heavy
   dependencies. Shared across index.html / about.html / instructions.html. */

:root {
  --ink: #111827;        /* matches the app's existing theme-color, ties the two together */
  --ink-soft: #4b5563;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f8f9fb;
  --accent: #111827;
  --accent-text: #ffffff;
  --good-bg: #eef2ff;
  --radius: 10px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------------- Header ---------------- */
header.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: rgba(255,255,255,.95);
  backdrop-filter: blur(6px);
  z-index: 20;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
/* The logo is a wordmark + small tagline ("RENTAL & COSTUME TRACKER")
   baked into one image -- at a typical compact nav-bar height that
   tagline turns to mush. Sized up so it stays legible; the sticky
   header has the vertical room for it. */
.brand img { height: 64px; width: auto; display: block; }
nav.site-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
nav.site-nav a.navlink {
  text-decoration: none; color: var(--ink-soft); font-size: 14px; font-weight: 600;
}
nav.site-nav a.navlink:hover { color: var(--ink); }
nav.site-nav a.navlink.current { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .08s ease, opacity .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-primary:hover { opacity: .9; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }

/* ---------------- Hero ---------------- */
.hero { padding: 72px 0 56px; text-align: center; }
.hero img.hero-logo { width: 520px; max-width: 88%; height: auto; margin-bottom: 26px; }
/* Visually hidden but still readable by screen readers / search engines --
   the logo image already shows "Rental & Costume Tracker" as its tagline,
   so a second visible line under it was pure repetition. Keeping a real
   <h1> around (just not shown) means the page still has a proper
   semantic heading instead of none at all. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hero p.lede {
  max-width: 640px; margin: 0 auto 30px; font-size: 18px; color: var(--ink-soft);
}
.hero .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
.hero .cta-sub { font-size: 13px; color: var(--ink-soft); }
.hero .cta-sub a { text-decoration: underline; }

/* ---------------- Sections ---------------- */
section { padding: 56px 0; }
section.alt { background: var(--bg-soft); }
section h2 {
  font-size: 26px; margin: 0 0 12px;
}
section .section-sub { color: var(--ink-soft); max-width: 640px; margin: 0 0 32px; }

.bio-card {
  max-width: 720px; margin: 0 auto; text-align: center; padding: 0 8px;
}
.bio-card p { font-size: 17px; color: var(--ink-soft); }

.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px;
}
.feature-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  background: var(--bg);
}
.feature-card .check {
  width: 30px; height: 30px; border-radius: 999px; background: var(--good-bg);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
  font-weight: 800; color: var(--ink);
}
.feature-card h3 { font-size: 16px; margin: 0 0 6px; }
.feature-card p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ---------------- Get started form ---------------- */
.contact-box {
  max-width: 560px; margin: 0 auto; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; background: var(--bg);
}
.form-row { margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.form-row input, .form-row textarea {
  font-family: inherit; font-size: 14px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--bg-soft);
}
.form-row textarea { resize: vertical; min-height: 90px; }
.contact-note { font-size: 12px; color: var(--ink-soft); margin-top: 10px; text-align: center; }

/* ---------------- Placeholder pages (About/FAQ, Instructions) ---------------- */
.placeholder-page .wrap { padding-top: 56px; padding-bottom: 72px; }
.placeholder-page h1 { font-size: 30px; margin-bottom: 10px; }
.placeholder-page .lede { color: var(--ink-soft); max-width: 640px; margin-bottom: 34px; }
.coming-soon {
  border: 1px dashed var(--line); border-radius: var(--radius); padding: 26px;
  color: var(--ink-soft); font-size: 14px; background: var(--bg-soft);
}
.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-item h3 { margin: 0 0 6px; font-size: 16px; }
.faq-item p { margin: 0; color: var(--ink-soft); font-size: 14px; }

/* ---------------- Instructions page: numbered step lists ---------------- */
.doc-section { margin-bottom: 44px; }
.doc-section h2 { font-size: 21px; margin: 0 0 4px; }
.doc-section .section-sub { color: var(--ink-soft); max-width: 680px; margin: 0 0 18px; font-size: 15px; }

/* Small uppercase pill next to a heading marking which app a section
   covers -- this product is genuinely two interfaces (fast mobile
   scanning, sit-down desktop management) sharing one dataset, so it's
   worth being explicit about which one each section is describing. */
.platform-tag {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-soft);
  margin-left: 10px; vertical-align: middle;
}

.step-list { counter-reset: step; list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.step-list li { counter-increment: step; position: relative; padding-left: 44px; }
.step-list li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 999px; background: var(--good-bg);
  color: var(--ink); font-weight: 800; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.step-list li strong { display: block; margin-bottom: 2px; }
.step-list li p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.doc-section ul.plain { margin: 0; padding-left: 20px; color: var(--ink-soft); font-size: 14px; }
.doc-section ul.plain li { margin-bottom: 6px; }
.doc-section ul.plain strong { color: var(--ink); }

/* ---------------- Footer ---------------- */
footer.site-footer {
  border-top: 1px solid var(--line); padding: 28px 0; margin-top: 40px;
}
footer.site-footer .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--ink-soft);
}
footer.site-footer a { text-decoration: underline; }

@media (max-width: 640px) {
  .hero { padding: 48px 0 40px; }
  .hero p.lede { font-size: 16px; }
  section { padding: 40px 0; }
}
