/* ──────────────────────────────────────────────────────────
   LinkedIn Cleanup — landing page
   Design tokens lifted from app/src/index.css to keep the site
   visually continuous with the macOS app.
   ────────────────────────────────────────────────────────── */
:root {
  --bg: #f6f7f9;
  --panel: #ffffff;
  --panel-soft: #fafbfc;
  --border: #e3e6eb;
  --border-strong: #cdd2d8;
  --text: #14181f;
  --text-soft: #2c333d;
  --muted: #5b6470;
  --muted-soft: #8b939d;

  --accent: #0a66c2;
  --accent-hover: #084a8e;
  --accent-soft: #e7f0fa;

  --keep: #027a48;
  --keep-bg: #ecfdf3;
  --keep-border: #a6f4c5;

  --shadow-xs: 0 1px 2px rgba(15,23,42,0.04);
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 4px 12px rgba(15,23,42,0.08);
  --shadow-lg: 0 8px 28px rgba(15,23,42,0.12);

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ──────────────────────────────────────────────────────────
   Nav
   ────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246,247,249,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 6px; box-shadow: var(--shadow-xs); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links .btn-pill {
  background: var(--accent);
  color: white;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 13px;
}
.nav-links .btn-pill:hover { background: var(--accent-hover); text-decoration: none; }

@media (max-width: 720px) {
  .nav-links a:not(.btn-pill) { display: none; }
}

/* ──────────────────────────────────────────────────────────
   Hero
   ────────────────────────────────────────────────────────── */
.hero {
  padding: 72px 0 56px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}
.hero h1 {
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  font-weight: 700;
}
.hero .lede {
  font-size: 18px;
  color: var(--text-soft);
  margin: 0 0 28px;
  max-width: 36em;
}
@media (max-width: 540px) {
  .hero h1 { font-size: 36px; }
  .hero .lede { font-size: 16px; }
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border-strong);
  background: white;
  color: var(--text);
  cursor: pointer;
  transition: background 140ms, border-color 140ms, transform 140ms, box-shadow 140ms;
  box-shadow: var(--shadow-xs);
}
.btn:hover { background: #f3f5f8; border-color: var(--muted-soft); text-decoration: none; }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: white; }
.btn .price { opacity: 0.85; font-weight: 500; margin-left: 6px; }
.cta-microcopy {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.cta-microcopy strong { color: var(--text-soft); font-weight: 600; }

.hero-art {
  position: relative;
  background: linear-gradient(155deg, #1474d4 0%, #0a66c2 100%);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-art::before {
  /* subtle radial highlight in the upper-left */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(255,255,255,0.18), transparent 55%);
  pointer-events: none;
}
.hero-art img {
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.06);
}
.hero-art .placeholder {
  aspect-ratio: 16 / 11;
  background: rgba(255,255,255,0.08);
  border: 1px dashed rgba(255,255,255,0.4);
  border-radius: var(--radius-md);
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-align: center;
  padding: 20px;
}

/* ──────────────────────────────────────────────────────────
   Sections
   ────────────────────────────────────────────────────────── */
section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
section h2 {
  font-size: 28px;
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
section .section-lede {
  color: var(--muted);
  margin: 0 0 36px;
  max-width: 36em;
  font-size: 16px;
}

/* ──────────────────────────────────────────────────────────
   How it works (3 steps)
   ────────────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-xs);
}
.step-num {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 14px;
}
.step h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.step p { margin: 0; color: var(--text-soft); font-size: 15px; }
.step p + p { margin-top: 8px; color: var(--muted); font-size: 13.5px; }

/* ──────────────────────────────────────────────────────────
   Safety
   ────────────────────────────────────────────────────────── */
.safety {
  background: linear-gradient(180deg, var(--accent-soft) 0%, white 100%);
}
.safety-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}
.safety-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 32px;
}
@media (max-width: 720px) {
  .safety-list { grid-template-columns: 1fr; }
}
.safety-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.safety-list .check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--keep-bg);
  border: 1px solid var(--keep-border);
  color: var(--keep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 1px;
}
.safety-list .head {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
  letter-spacing: -0.005em;
}
.safety-list .body { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ──────────────────────────────────────────────────────────
   Pricing
   ────────────────────────────────────────────────────────── */
.pricing { text-align: center; }
.price-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  text-align: left;
}
.price-tag {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.price-amount {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}
.price-tag .period { color: var(--muted); font-size: 15px; }
.price-card .one-time {
  display: inline-block;
  background: var(--keep-bg);
  color: var(--keep);
  border: 1px solid var(--keep-border);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
}
.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.price-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}
.price-list li:last-child { border-bottom: none; }
.price-list .check {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--keep-bg);
  border: 1px solid var(--keep-border);
  color: var(--keep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.price-card .btn { width: 100%; }
.price-card .reassure {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin: 12px 0 0;
}

/* ──────────────────────────────────────────────────────────
   Founder note
   ────────────────────────────────────────────────────────── */
.founder {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-xs);
}
.founder-avatar {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  border: 1px solid var(--accent);
}
.founder p { margin: 0 0 8px; color: var(--text-soft); }
.founder .signature { color: var(--muted); font-size: 14px; }
.founder .links { margin-top: 10px; display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; }

@media (max-width: 600px) {
  .founder { flex-direction: column; gap: 14px; }
}

/* ──────────────────────────────────────────────────────────
   FAQ
   ────────────────────────────────────────────────────────── */
.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px 0;
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 18px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  letter-spacing: -0.005em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--muted);
  font-weight: 400;
  font-size: 22px;
  margin-left: 12px;
  transition: transform 140ms;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 18px 16px;
  color: var(--text-soft);
  font-size: 15px;
}
.faq-item .faq-body p { margin: 0 0 8px; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ──────────────────────────────────────────────────────────
   Footer
   ────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--panel);
  padding: 28px 0;
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* ──────────────────────────────────────────────────────────
   Legal page (legal.html)
   ────────────────────────────────────────────────────────── */
.legal {
  padding: 56px 0 80px;
  max-width: 720px;
  margin: 0 auto;
}
.legal h1 { font-size: 32px; letter-spacing: -0.02em; margin: 0 0 4px; }
.legal .updated { color: var(--muted); font-size: 13px; margin: 0 0 36px; }
.legal h2 {
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 36px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.legal h2:first-of-type { border-top: none; padding-top: 0; }
.legal h3 { font-size: 16px; margin: 22px 0 6px; font-weight: 600; }
.legal p, .legal li { color: var(--text-soft); font-size: 15px; line-height: 1.6; }
.legal ul { padding-left: 22px; }
.legal .toc {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 32px;
  font-size: 14px;
}
.legal .toc strong { color: var(--text); margin-right: 10px; }
.legal .placeholder {
  background: #fffaeb;
  border: 1px solid #fec84b;
  color: #7a4f01;
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
