/* ClearCart site — matches the extension's brand (accent #0e7a67). */
:root {
  --accent: #0e7a67;
  --accent-dark: #0a5d4f;
  --accent-soft: #e7f3f0;
  --ink: #1f2937;
  --muted: #5a6470;
  --border: #dbe6e2;
  --bg: #f7fbfa;
}

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

body {
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: linear-gradient(160deg, #f7fbfa 0%, #e3efec 100%);
  min-height: 100vh;
}

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

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247, 251, 250, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 28px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand svg { display: block; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--accent); }

.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px;
  background: var(--accent); color: #fff !important; font-weight: 650;
  text-decoration: none; font-size: 16px; border: 0; cursor: pointer;
}
.btn:hover { background: var(--accent-dark); }
.btn.small { padding: 8px 16px; font-size: 14px; }

/* Hero */
.hero { text-align: center; padding: 72px 0 36px; }
.hero h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.1; letter-spacing: -0.02em; }
.hero h1 .accent { color: var(--accent); }
.hero p.tag { max-width: 640px; margin: 18px auto 30px; font-size: 20px; color: var(--muted); }
.hero .sub { margin-top: 14px; font-size: 14px; color: var(--muted); }
.hero .shot { margin: 48px auto 0; max-width: 960px; }
.hero .shot img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--border); box-shadow: 0 24px 60px -24px rgba(15, 60, 50, 0.35); }

/* Sections */
section { padding: 64px 0; }
section.alt { background: rgba(255, 255, 255, 0.6); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { font-size: 32px; letter-spacing: -0.01em; margin-bottom: 12px; }
.lede { color: var(--muted); max-width: 720px; margin-bottom: 36px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 22px 24px;
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--muted); }
.card .pill {
  display: inline-block; margin-bottom: 10px; padding: 2px 10px; border-radius: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.03em;
}
.pill.free { background: var(--accent-soft); color: var(--accent); }
.pill.pro { background: #fdf0e0; color: #b45309; }

.steps { counter-reset: step; }
.steps .card { position: relative; padding-left: 64px; }
.steps .card::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 20px; top: 22px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}

/* Privacy strip */
.privacy-strip { text-align: center; }
.privacy-strip .badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }
.badge { padding: 8px 18px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 650; font-size: 14px; }

/* Prose pages (privacy, support) */
.prose { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.prose h1 { font-size: 38px; margin-bottom: 8px; }
.prose .updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.prose h2 { font-size: 24px; margin: 36px 0 10px; }
.prose p, .prose li { color: #374151; margin-bottom: 12px; }
.prose ul { padding-left: 22px; }
.prose a { color: var(--accent); }
details {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 20px; margin-bottom: 12px;
}
details summary { font-weight: 650; cursor: pointer; }
details p { margin-top: 10px; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.foot .links { margin-left: auto; display: flex; gap: 18px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--accent); }

@media (max-width: 640px) {
  .nav a.navlink { display: none; }
  section { padding: 44px 0; }
}
