/* SkuClerk — single stylesheet, no framework. Edit freely. */

:root {
  --background: oklch(98% .005 80);
  --foreground: oklch(25% .05 260);
  --card: oklch(100% 0 0);
  --primary: oklch(75% .15 175);
  --primary-foreground: oklch(98% .005 80);
  --muted-foreground: oklch(50% .03 260);
  --destructive: oklch(57.7% .245 27.325);
  --border: oklch(90% .01 80);
  --radius: 0.5rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--background);
  color: var(--foreground);
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; max-width: 1280px; } }
.narrow { max-width: 48rem; margin-left: auto; margin-right: auto; }
.narrow-sm { max-width: 42rem; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.center .icon-list { text-align: left; }

/* Icons */
.ic { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.ic-sm { width: 1rem; height: 1rem; }
.ic-check { color: var(--primary); margin-top: 2px; }
.ic-x { color: var(--destructive); margin-top: 2px; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: color-mix(in oklab, var(--background) 80%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.static-header { position: static; backdrop-filter: none; background: var(--background); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.logo { height: 3rem; width: auto; }
.main-nav, .footer-nav { display: flex; align-items: center; gap: 1rem; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground);
  transition: color .15s;
}
.nav-link:hover, .nav-link.active { color: var(--foreground); }
.nav-link .ic { width: 1rem; height: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; border-radius: var(--radius);
  background: var(--primary); color: var(--primary-foreground);
  font-weight: 600; font-size: 1rem; border: none; cursor: pointer;
  font-family: inherit; transition: opacity .15s;
}
.btn:hover { opacity: 0.9; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-outline { background: transparent; color: var(--foreground); border: 1px solid var(--border); }

/* Type */
.eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 1rem;
}
.eyebrow.no-mb { margin-bottom: 0; }
.h2 { font-size: 1.5rem; font-weight: 700; line-height: 1.25; }
@media (min-width: 768px) { .h2 { font-size: 1.875rem; } }
.h3-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.mb-lg { margin-bottom: 3rem; }
.mb-md { margin-bottom: 2rem; }
.mt-md { margin-top: 2rem; }
.body-text { margin-top: 1rem; color: var(--muted-foreground); line-height: 1.7; }
.page-title { font-size: 1.875rem; font-weight: 700; line-height: 1.2; }
@media (min-width: 768px) { .page-title { font-size: 2.25rem; } }

/* Sections */
main { padding-top: 4rem; }
.section { padding: 4rem 0; }
.band { padding: 4rem 0; background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Hero */
.hero { padding: 5rem 0; }
@media (min-width: 768px) { .hero { padding: 7rem 0; } }
.grid-2 { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.hero-title { font-size: 2.25rem; font-weight: 700; line-height: 1.15; }
@media (min-width: 768px) { .hero-title { font-size: 3rem; } }
.hero-sub { margin-top: 1.5rem; font-size: 1.125rem; color: var(--muted-foreground); line-height: 1.7; max-width: 32rem; }
.hero-cta { margin-top: 2rem; }
.hero-note { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); }
.hero-img { border-radius: var(--radius); box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); }
.feature-img { border-radius: var(--radius); box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; text-align: center; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat-value { font-size: 1.875rem; font-weight: 700; }
@media (min-width: 768px) { .stat-value { font-size: 2.25rem; } }
.stat-label { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* Cards */
.grid-3 { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--background); }
.card-title { font-weight: 600; margin-bottom: 0.5rem; }
.card-text { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }
.card-text a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.tab-name { font-family: "JetBrains Mono", monospace; font-size: 0.875rem; font-weight: 600; color: var(--primary); margin-bottom: 0.5rem; }

/* Icon lists */
.icon-list { list-style: none; margin-top: 1.5rem; }
.icon-list li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; color: var(--muted-foreground); }

/* Pricing */
.price { font-size: 3rem; font-weight: 700; }
.price-sub { margin-top: 0.5rem; color: var(--muted-foreground); }
.price-list { max-width: 28rem; margin: 2rem auto 0; font-size: 0.875rem; }
.price-compare { margin: 2rem auto; font-size: 0.875rem; color: var(--muted-foreground); max-width: 28rem; line-height: 1.6; }

/* Newsletter */
.newsletter { text-align: center; }
.nl-eyebrow { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 0.75rem; color: var(--primary); }
.nl-eyebrow span { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.nl-heading { font-size: 1.125rem; font-weight: 700; }
.nl-sub { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); max-width: 28rem; margin-left: auto; margin-right: auto; }
.nl-form { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; max-width: 28rem; margin-left: auto; margin-right: auto; }
@media (min-width: 640px) { .nl-form { flex-direction: row; } }
.nl-input {
  flex: 1; padding: 0.75rem 1rem; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--background);
  color: var(--foreground); font-size: 0.875rem; font-family: inherit;
}
.nl-input:focus { outline: 2px solid var(--primary); outline-offset: 0; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 1rem 0; }
.faq-item summary {
  cursor: pointer; font-weight: 600; display: flex; align-items: center;
  justify-content: space-between; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-arrow { color: var(--muted-foreground); transition: transform .2s; display: inline-flex; }
.faq-item[open] .faq-arrow { transform: rotate(90deg); }
.faq-item p { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.7; }

/* Final CTA */
.final-cta { padding: 5rem 0; background: var(--foreground); color: var(--primary-foreground); }
.cta-sub { margin-top: 1rem; opacity: 0.8; }
.final-cta .btn { margin-top: 2rem; }

/* Footer */
.site-footer { padding: 2rem 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; }
@media (min-width: 768px) { .footer-inner { flex-direction: row; } }
.footer-copy { font-size: 0.875rem; color: var(--muted-foreground); }

/* Guides index */
.guides-eyebrow { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; color: var(--primary); }
.guides-list { padding-bottom: 5rem; }
.guide-card {
  display: block; padding: 1.5rem; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--card); margin-bottom: 1.5rem;
  transition: border-color .2s, box-shadow .2s;
}
.guide-card:hover { border-color: color-mix(in oklab, var(--primary) 30%, transparent); box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1); }
.guide-meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; color: var(--muted-foreground); margin-bottom: 0.75rem; }
.guide-card-title { font-size: 1.125rem; font-weight: 600; }
.guide-card:hover .guide-card-title { color: var(--primary); }
.guide-card .card-text { margin-top: 0.5rem; }
.read-more { display: inline-flex; align-items: center; gap: 0.25rem; margin-top: 1rem; font-size: 0.875rem; font-weight: 500; color: var(--primary); }

/* Article */
.article { padding: 3rem 0 4rem; }
.back-link { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 2rem; transition: color .15s; }
.back-link:hover { color: var(--foreground); }
.article-header { margin-bottom: 2.5rem; }
.article-title { font-size: 1.875rem; font-weight: 700; line-height: 1.25; }
@media (min-width: 768px) { .article-title { font-size: 2.25rem; } }
.article-desc { margin-top: 1rem; font-size: 1.125rem; color: var(--muted-foreground); line-height: 1.7; }
.article-share { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.article-footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.card-block { margin-top: 2.5rem; padding: 2rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }

/* Share buttons */
.share { display: flex; align-items: center; gap: 0.5rem; }
.share-label { font-size: 0.875rem; color: var(--muted-foreground); margin-right: 0.25rem; }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--background);
  color: var(--muted-foreground); cursor: pointer; transition: color .15s, border-color .15s;
}
.share-btn:hover { color: var(--foreground); border-color: var(--muted-foreground); }
.share-btn.copied { color: var(--primary); border-color: var(--primary); }

/* Prose (guide bodies) */
.prose { line-height: 1.75; color: var(--foreground); }
.prose h2 { font-size: 1.5rem; font-weight: 600; margin-top: 2.5rem; margin-bottom: 0.75rem; line-height: 1.3; }
.prose h3 { font-size: 1.25rem; font-weight: 600; margin-top: 2rem; margin-bottom: 0.5rem; line-height: 1.4; }
.prose p { margin: 1.25rem 0; }
.prose ul, .prose ol { margin: 1.25rem 0; padding-left: 1.5rem; }
.prose ul { list-style-type: disc; }
.prose ol { list-style-type: decimal; }
.prose li { margin: 0.5rem 0; }
.prose strong { font-weight: 600; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { opacity: 0.8; }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.prose th { text-align: left; font-weight: 600; padding: 0.75rem 1rem; border-bottom: 2px solid var(--border); }
.prose td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); }
.prose code { font-family: "JetBrains Mono", monospace; font-size: 0.875em; background: oklch(95% .005 80); padding: 0.125rem 0.375rem; border-radius: 0.25rem; }

/* Thank-you page */
.confirm-badge { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; color: var(--primary); }
.steps { margin-top: 2.5rem; }
.step { display: flex; gap: 1rem; margin-bottom: 2rem; }
.step-num {
  width: 2rem; height: 2rem; border-radius: 50%; background: var(--foreground);
  color: var(--primary-foreground); display: flex; align-items: center;
  justify-content: center; font-size: 0.875rem; font-weight: 700; flex-shrink: 0;
}
.video-block { margin-top: 3rem; }
.video-block .card-text { margin-bottom: 1rem; }
.video-frame { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.help-block { margin-top: 3rem; }
.help-block a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.back-home { color: var(--primary); font-weight: 500; }
.back-home:hover { text-decoration: underline; }
