/* KickMint web, shared stylesheet for index, privacy, terms, cookies */

:root {
  --cream: #f5efe2;
  --cream-2: #ece5d4;
  --sage: #5a8463;
  --sage-bright: #7da982;
  --sage-dim: rgba(90, 132, 99, 0.14);
  --warm-dark: #1a1f1a;
  --charcoal: #2a2f2a;
  --muted: #545a54;
  --border: rgba(26, 31, 26, 0.12);
  --amber: #a26e1f;
  --amber-soft: #f3e4c2;

  --radius-lg: 16px;
  --radius-card: 8px;
  --radius-pill: 999px;

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 40px;
  --s-7: 64px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1120px;
  --container-narrow: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--warm-dark);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--sage);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--sage-bright);
}

h1,
h2,
h3,
h4 {
  color: var(--warm-dark);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 var(--s-4);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h3 {
  font-size: 1.125rem;
}

p {
  margin: 0 0 var(--s-4);
}

ul,
ol {
  margin: 0 0 var(--s-4);
  padding-left: 1.5rem;
}

li {
  margin-bottom: var(--s-2);
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: var(--s-6) 0;
}

code {
  background: var(--sage-dim);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 239, 226, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-3) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
  color: var(--warm-dark);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: var(--warm-dark);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--sage);
}

.nav-links .nav-cta {
  background: var(--sage);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
}

.nav-links .nav-cta:hover {
  background: var(--sage-bright);
  color: var(--cream);
}

@media (max-width: 720px) {
  .nav-links li:not(:last-child) {
    display: none;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 14px 22px;
  min-height: 48px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.08s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--sage);
  color: var(--cream);
  box-shadow: 0 1px 2px rgba(26, 31, 26, 0.1), 0 6px 20px rgba(90, 132, 99, 0.2);
}

.btn-primary:hover {
  background: var(--sage-bright);
  color: var(--cream);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--warm-dark);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--sage);
  color: var(--sage);
}

.btn-ghost {
  background: transparent;
  color: var(--sage);
  padding: 12px 4px;
  min-height: 44px;
}

.btn-ghost:hover {
  color: var(--sage-bright);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 3fr 2fr;
    gap: var(--s-7);
  }
}

.hero-brandmark {
  display: inline-flex;
  align-items: center;
  margin-bottom: var(--s-4);
  text-decoration: none;
  border-radius: 8px;
}

.hero-brandmark svg {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage);
  background: var(--sage-dim);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--s-4);
}

.hero h1 {
  margin-bottom: var(--s-4);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: var(--s-5);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
}

.hero-trust {
  margin-top: var(--s-5);
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

.hero-trust::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--sage);
  border-radius: 50%;
}

.hero-trust-row {
  list-style: none;
  padding: 0;
  margin: var(--s-5) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  color: var(--muted);
}

.hero-trust-row li {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0;
}

.hero-trust-row svg {
  flex-shrink: 0;
}

.hero-art {
  position: relative;
  width: 100%;
  aspect-ratio: 320 / 600;
  max-width: 320px;
  margin: 0 auto;
}

.hero-art svg {
  width: 100%;
  height: 100%;
}

/* ---------- Generic section ---------- */

.section {
  padding: clamp(48px, 7vw, 96px) 0;
}

.section-alt {
  background: var(--cream-2);
}

.section-head {
  max-width: 680px;
  margin-bottom: var(--s-6);
}

.section-head .kicker {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: var(--s-2);
}

.section-head h2 {
  margin-bottom: var(--s-3);
}

.section-head p {
  color: var(--muted);
  font-size: 1.0625rem;
}

/* ---------- Card grids ---------- */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.section-alt .card {
  background: var(--cream);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(26, 31, 26, 0.06);
  border-color: rgba(90, 132, 99, 0.4);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sage-dim);
  color: var(--sage);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--s-4);
}

.card h3 {
  margin-bottom: var(--s-2);
}

.card p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* ---------- Privacy moat section ---------- */

.moat-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
}

.moat-card strong {
  color: var(--warm-dark);
}

.moat-card p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.moat-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sage);
  background: var(--sage-dim);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--s-3);
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 780px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pricing-grid-3 {
  max-width: 1080px;
}

@media (min-width: 980px) {
  .pricing-grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.plan-trial {
  color: var(--sage);
  font-size: 0.9375rem;
  margin-bottom: var(--s-4);
}

.plan.plan-lifetime {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(162, 110, 31, 0.12);
  position: relative;
}

.plan-tag-launch {
  background: var(--amber);
  color: var(--cream);
}

.plan-price-strike {
  color: var(--muted);
  font-size: 1.25rem;
  font-weight: 500;
  text-decoration: line-through;
  margin-right: var(--s-2);
  vertical-align: middle;
}

.plan-price-now {
  color: var(--warm-dark);
  font-weight: 700;
}

.plan-scarcity {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--amber);
  background: var(--amber-soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--s-4);
}

.pricing-footnote {
  text-align: center;
  margin-top: var(--s-5);
  font-size: 0.9375rem;
}

.plan {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
}

.plan.plan-pro {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px var(--sage-dim);
  position: relative;
}

.plan-tag {
  position: absolute;
  top: -12px;
  right: var(--s-5);
  background: var(--sage);
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.plan h3 {
  font-size: 1.25rem;
  margin-bottom: var(--s-2);
}

.plan-price {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--warm-dark);
  margin: var(--s-2) 0 var(--s-1);
}

.plan-price small {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.plan-sub {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: var(--s-4);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-5);
}

.plan-features li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--warm-dark);
  margin-bottom: var(--s-2);
  font-size: 0.9375rem;
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 7px;
  border-left: 2px solid var(--sage);
  border-bottom: 2px solid var(--sage);
  transform: rotate(-45deg);
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--cream);
  margin-bottom: var(--s-3);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--s-4) var(--s-5);
  font-weight: 600;
  color: var(--warm-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--sage);
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-body {
  padding: 0 var(--s-5) var(--s-5);
  color: var(--muted);
}

.faq-body p:last-child {
  margin-bottom: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: var(--s-7) 0 var(--s-5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}

@media (min-width: 780px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}

.footer-brand .brand {
  color: var(--cream);
}

.footer-brand p {
  color: rgba(245, 239, 226, 0.7);
  font-size: 0.9rem;
  margin-top: var(--s-3);
  max-width: 32ch;
}

.footer-col h4 {
  color: var(--cream);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: var(--s-2);
}

.footer-col a {
  color: rgba(245, 239, 226, 0.78);
  text-decoration: none;
  font-size: 0.9375rem;
}

.footer-col a:hover {
  color: var(--cream);
  text-decoration: underline;
}

.footer-bottom {
  margin-top: var(--s-6);
  padding-top: var(--s-4);
  border-top: 1px solid rgba(245, 239, 226, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3);
  color: rgba(245, 239, 226, 0.6);
  font-size: 0.8125rem;
}

/* ---------- Legal pages ---------- */

.legal-wrap {
  padding: var(--s-6) 0 var(--s-7);
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}

@media (min-width: 960px) {
  .legal-grid {
    grid-template-columns: 240px 1fr;
    gap: var(--s-7);
  }
}

.legal-toc {
  position: relative;
}

@media (min-width: 960px) {
  .legal-toc {
    position: sticky;
    top: 88px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
}

.legal-toc h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-3);
}

.legal-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}

.legal-toc li {
  counter-increment: toc;
  margin-bottom: var(--s-2);
}

.legal-toc a {
  color: var(--warm-dark);
  text-decoration: none;
  font-size: 0.9375rem;
  display: block;
  padding: 4px 0;
  border-left: 2px solid transparent;
  padding-left: var(--s-3);
}

.legal-toc a::before {
  content: counter(toc) ". ";
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.legal-toc a:hover {
  color: var(--sage);
  border-left-color: var(--sage);
}

.legal-article {
  max-width: 72ch;
}

.legal-article .legal-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: var(--s-5);
}

.legal-article h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: var(--s-3);
}

.legal-article h2 {
  font-size: 1.5rem;
  margin-top: var(--s-6);
  padding-top: var(--s-4);
  border-top: 1px solid var(--border);
}

.legal-article h2:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: var(--s-5);
}

.legal-article h3 {
  font-size: 1.125rem;
  margin-top: var(--s-5);
}

.legal-article table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--s-5);
  font-size: 0.9375rem;
}

.legal-article th,
.legal-article td {
  text-align: left;
  padding: var(--s-3);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.legal-article th {
  background: var(--cream-2);
  font-weight: 600;
  color: var(--warm-dark);
}

.legal-article blockquote {
  margin: 0 0 var(--s-4);
  padding: var(--s-4) var(--s-5);
  background: var(--sage-dim);
  border-left: 3px solid var(--sage);
  border-radius: var(--radius-card);
  color: var(--warm-dark);
}

.legal-article blockquote p:last-child {
  margin-bottom: 0;
}

.legal-article code {
  word-break: break-word;
}

mark.todo {
  background: var(--amber-soft);
  color: var(--amber);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95em;
}

aside.review-flag {
  display: block;
  margin: var(--s-4) 0;
  padding: var(--s-4) var(--s-5);
  background: var(--amber-soft);
  border: 1px solid rgba(162, 110, 31, 0.35);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius-card);
  color: var(--charcoal);
  font-size: 0.9375rem;
}

aside.review-flag strong {
  color: var(--amber);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.8125rem;
  display: block;
  margin-bottom: var(--s-1);
}

/* ---------- Utility ---------- */

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

.center {
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Focus states for keyboard users */

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
