/* ── Loginboard Landing Pages — landing.css ──────────────────────────────
   Shared stylesheet for all Loginboard feature landing pages.
   Exact design tokens from the app (home.blade.php / app.blade.php).
   ──────────────────────────────────────────────────────────────────────── */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --bg:         #fff;
  --surface:    #F7F8FA;
  --ink:        #1A1A1A;
  --ink-mid:    #555;
  --ink-soft:   #888;
  --line:       #E5E7EB;
  --line-soft:  #F0F1F3;
  --accent:     #1D4ED8;
  --accent-bg:  #EFF6FF;
  --accent-mid: #BFDBFE;
  --success:    #16A34A;
  --danger:     #DC2626;
  --warn:       #D97706;
  --r:          6px;
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.nav {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
}
.brand-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-mid);
  padding: 5px 10px;
  border-radius: var(--r);
  transition: background .1s, color .1s;
}
.nav-link:hover { background: var(--surface); color: var(--ink); }
.nav-cta {
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 6px 14px;
  border-radius: var(--r);
  transition: opacity .1s;
}
.nav-cta:hover { opacity: .88; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 72px 24px 56px;
  max-width: 640px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid var(--accent-mid);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 14px;
}
.hero h1 span { color: var(--accent); }
.hero-sub {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 32px;
}
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.btn-lg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--r);
  font-size: 13.5px;
  font-weight: 600;
  transition: opacity .12s;
}
.btn-lg:hover { opacity: .88; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink-mid); border: 1px solid var(--line); }
.hero-note { font-size: 11.5px; color: var(--ink-soft); margin-top: 14px; }

/* ── Section wrapper ────────────────────────────────────────────────────── */
.section-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 24px;
}
.section-head {
  margin-bottom: 32px;
}
.section-head h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 8px;
}
.section-head p {
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 1.6;
  max-width: 520px;
}
.section-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ── Feature grid ────────────────────────────────────────────────────────── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.feat {
  background: var(--bg);
  padding: 24px;
}
.feat-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r);
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.feat-icon svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 13px; font-weight: 700; margin-bottom: 5px; }
.feat p { font-size: 12px; color: var(--ink-mid); line-height: 1.6; }

/* ── How-it-works steps ─────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.step-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid var(--accent-mid);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.step h3 { font-size: 13px; font-weight: 700; margin-bottom: 5px; }
.step p { font-size: 12px; color: var(--ink-mid); line-height: 1.6; }

/* ── Use-case list ──────────────────────────────────────────────────────── */
.use-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.use-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.use-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--r);
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.use-icon svg { width: 14px; height: 14px; stroke: var(--accent); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.use-item h4 { font-size: 12.5px; font-weight: 700; margin-bottom: 3px; }
.use-item p { font-size: 12px; color: var(--ink-mid); line-height: 1.55; }

/* ── Capability table ───────────────────────────────────────────────────── */
.cap-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  font-size: 12.5px;
}
.cap-table th {
  text-align: left;
  padding: 10px 16px;
  background: var(--surface);
  color: var(--ink-mid);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 1px solid var(--line);
}
.cap-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  vertical-align: top;
}
.cap-table tr:last-child td { border-bottom: none; }
.cap-table td:first-child { font-weight: 600; white-space: nowrap; width: 220px; }
.cap-table td svg { width: 13px; height: 13px; stroke: var(--success); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; margin-right: 4px; }

/* ── CTA band ────────────────────────────────────────────────────────────── */
.cta-band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px 24px;
  text-align: center;
}
.cta-band h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
.cta-band p {
  font-size: 13px;
  color: var(--ink-mid);
  margin-bottom: 24px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.cta-band .hero-note { margin-top: 12px; }

/* ── Related links ──────────────────────────────────────────────────────── */
.related-links {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px 56px;
}
.related-links h3 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.related-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color .1s, background .1s;
}
.related-card:hover { border-color: var(--accent-mid); background: var(--accent-bg); }
.related-card-icon {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.related-card-icon svg { width: 13px; height: 13px; stroke: var(--accent); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.related-card-body { min-width: 0; }
.related-card-title { font-size: 12px; font-weight: 600; color: var(--ink); }
.related-card-sub { font-size: 11px; color: var(--ink-soft); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-soft);
  gap: 12px;
}
.footer-brand { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); font-size: 13px; letter-spacing: -0.02em; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: var(--ink-soft); }
.footer-links a:hover { color: var(--ink); }
.footer-cta { color: var(--accent); font-weight: 500; }
.footer-cta:hover { opacity: .8; }

/* ── Breadcrumb ─────────────────────────────────────────────────────────── */
.breadcrumb {
  max-width: 860px;
  margin: 0 auto;
  padding: 14px 24px 0;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--ink-soft);
}
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--line); }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 680px) {
  .hero h1 { font-size: 26px; }
  .feat-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .use-list { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .nav-links .nav-link { display: none; }
  .footer { flex-direction: column; text-align: center; }
  .cap-table td:first-child { width: auto; }
}
