/* Public landing page. Shares the app's palette; nothing else. */

:root {
  --ink: #0d1117;
  --body: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --accent: #059669;
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
}

code {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.9em;
  white-space: nowrap;
}

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

/* ---------------------------------------------------------------------- nav */

.nav {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navlink {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}

.navlink:hover {
  color: var(--ink);
}

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.15s, transform 0.05s;
  padding: 10px 18px;
  font-size: 15px;
}

.btn:hover {
  background: #30384a;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 14px;
}

.btn-lg {
  padding: 13px 24px;
  font-size: 16px;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: var(--bg-alt);
}

.btn-invert {
  background: #fff;
  color: var(--ink);
}

.btn-invert:hover {
  background: #e5e7eb;
}

/* -------------------------------------------------------------------- hero */

.hero {
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--line);
}

.hero h1 {
  font-size: clamp(32px, 5.2vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-weight: 700;
  max-width: 16ch;
}

.lede {
  margin-top: 22px;
  font-size: clamp(17px, 2vw, 19px);
  max-width: 62ch;
  color: var(--body);
}

.cta {
  margin-top: 34px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.fineprint {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

/* ----------------------------------------------------------------- sections */

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 680;
  max-width: 24ch;
}

.section-lede {
  margin-top: 14px;
  max-width: 64ch;
  color: var(--muted);
}

.section h3 {
  font-size: 16px;
  color: var(--ink);
  font-weight: 620;
}

/* ------------------------------------------------------------------- steps */

.steps {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  gap: 28px;
}

.steps li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.step-n {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
}

.steps p {
  margin-top: 5px;
  max-width: 68ch;
  color: var(--muted);
}

/* -------------------------------------------------------------------- grid */

.grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}

.card p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}

/* --------------------------------------------------------------- plain list */

.plainlist {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
  max-width: 72ch;
}

.plainlist li {
  padding-left: 18px;
  border-left: 2px solid var(--line);
  color: var(--muted);
}

.plainlist strong {
  color: var(--ink);
  font-weight: 600;
}

/* ----------------------------------------------------------------- closing */

.closing {
  background: var(--ink);
  color: #fff;
  padding: 76px 0;
  text-align: center;
}

.closing h2 {
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.02em;
  font-weight: 650;
  margin: 0 auto 28px;
  max-width: 22ch;
}

/* -------------------------------------------------------------------- foot */

.foot {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.foot-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.foot .brand,
.foot span:first-child {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 600px) {
  .hero {
    padding: 56px 0 48px;
  }

  .section {
    padding: 52px 0;
  }

  .cta .btn {
    width: 100%;
    text-align: center;
  }
}
