/* Tapora — minimal brand site */
:root {
  --bg: #0a0a14;
  --bg-2: #1a1a2e;
  --fg: #ffffff;
  --muted: rgba(255, 255, 255, 0.65);
  --dim: rgba(255, 255, 255, 0.45);
  --gold: #fcd34d;
  --line: rgba(255, 255, 255, 0.1);
  --card: rgba(255, 255, 255, 0.04);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 50%, #000 100%);
  color: var(--fg);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

header.brand {
  display: flex;
  align-items: baseline;
  gap: 0;
  margin-bottom: 32px;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.5px;
}
header.brand .tap { color: var(--fg); }
header.brand .ora {
  color: var(--gold);
  font-style: italic;
}
header.brand a {
  display: flex;
  align-items: baseline;
  text-decoration: none;
}

nav.top-nav {
  margin-left: auto;
  display: flex;
  gap: 18px;
  font-size: 14px;
  font-weight: 500;
}
nav.top-nav a {
  color: var(--muted);
  font-style: normal;
}
nav.top-nav a:hover { color: var(--fg); text-decoration: none; }

.brand-row { display: flex; align-items: center; }

/* Landing hero */
.hero {
  text-align: center;
  padding: 64px 0 48px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin: 0 0 16px;
}
.hero h1 .accent {
  color: var(--gold);
  font-style: italic;
}
.hero p.lede {
  font-size: 17px;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 32px;
}
.hero .cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  background: var(--gold);
  color: #000;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: transform 120ms ease;
}
.cta:hover { text-decoration: none; transform: translateY(-1px); }
.cta.ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line);
}

/* Feature grid */
.features {
  margin-top: 64px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .features { grid-template-columns: 1fr 1fr; } }
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}
.feature h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}
.feature p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* Doc pages (privacy / support) */
.doc h1 {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -1px;
  margin: 8px 0 8px;
}
.doc h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 32px 0 8px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.doc h2:first-of-type { border-top: none; padding-top: 0; }
.doc h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 20px 0 8px;
  color: var(--fg);
}
.doc p, .doc li {
  color: var(--muted);
  font-size: 15px;
}
.doc strong { color: var(--fg); }
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 14px;
}
.doc th, .doc td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.doc th { color: var(--fg); font-weight: 700; }
.doc .meta {
  color: var(--dim);
  font-size: 13px;
  margin: 0 0 24px;
}

/* Footer */
footer {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--dim);
  font-size: 13px;
}
footer .links { display: flex; gap: 18px; }
footer a { color: var(--dim); }
footer a:hover { color: var(--fg); }
