/* GharStack coming-soon — standalone static styles.
   Brand tokens mirror the app (brand #1A3C5E, accent #E07B39, Inter).
   Self-contained on purpose: this site ships via Cloudflare Pages, NOT the app
   build, so it does not use the app's Tailwind/token pipeline. */

:root {
  --brand: #1a3c5e;
  --brand-ink: #0f2438;
  --accent: #e07b39;
  --ink: #12212e;
  --ink-2: #3d4a55;
  --muted: #6b7785;
  --line: #e3e8ec;
  --surface: #ffffff;
  --surface-2: #f6f8fa;
  --max: 720px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
}

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

/* Top bar */
.topbar {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--brand);
  text-decoration: none;
}

.brand .dot {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
}

/* Hero */
.hero {
  padding: 64px 0 40px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(30px, 6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--brand-ink);
}

.lede {
  font-size: 18px;
  color: var(--ink-2);
  margin: 0 0 28px;
  max-width: 56ch;
}

/* Feature chips */
.features {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.features li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--ink-2);
}

.features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

/* Sections */
section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}

h3 {
  font-size: 17px;
  color: var(--brand-ink);
  margin: 24px 0 8px;
}

.entity {
  font-size: 16px;
}

.entity strong {
  color: var(--brand-ink);
}

/* Definition grid for contact / registration */
.facts {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 10px 18px;
  margin: 0;
  font-size: 15px;
}

.facts dt {
  color: var(--muted);
}

.facts dd {
  margin: 0;
  color: var(--ink);
}

.facts dd a {
  word-break: break-word;
}

/* Placeholder marker for values the operator must fill before go-live */
.pending {
  color: var(--accent);
  background: #fdf1e8;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}

/* Processor / data table */
.ptable {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 4px;
  font-size: 14px;
}

.ptable th,
.ptable td {
  text-align: left;
  vertical-align: top;
  padding: 8px 12px;
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.ptable th {
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 600;
}

.table-scroll {
  overflow-x: auto;
}

/* Legal page body */
.legal p,
.legal li {
  font-size: 15px;
  color: var(--ink-2);
}

.legal h3 {
  font-size: 16px;
}

.updated {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  font-size: 13px;
  color: var(--muted);
}

footer a {
  color: var(--ink-2);
  text-decoration: none;
  margin-right: 16px;
}

footer a:hover {
  text-decoration: underline;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 560px) {
  .features {
    grid-template-columns: 1fr;
  }
  .facts {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }
  .facts dd {
    margin-bottom: 12px;
  }
}
