/* =========================================================
   Preseedo — shared site styles
   ========================================================= */

:root {
  --ink: #14161A;
  --bg: #FAF9F6;
  --accent: #00A0FF;
  --accent-hover: #0783D1;
  --accent-ink: #EFF8FE;
  --line: #E7E4DC;
  --muted: #6B7178;
  --card: #FFFFFF;
  --card-tint: #F3F1EA;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Public Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Bricolage Grotesque', 'Public Sans', system-ui, sans-serif;
  letter-spacing: -0.01em;
  text-wrap: pretty;
  margin: 0;
}

p { text-wrap: pretty; margin: 0; }

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

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

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-small { padding: 10px 20px; font-size: 13.5px; }
button.btn { appearance: none; }

/* ---------- layout helpers ---------- */
.section { padding: 96px 48px; }
.wrap { max-width: 1180px; margin: 0 auto; }
.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: block;
}

/* ---------- nav ---------- */
.nav-shell {
  position: sticky;
  top: 20px;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 0 24px;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  max-width: 900px;
  background: rgba(250, 249, 246, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 12px 10px 18px;
  box-shadow: 0 8px 24px rgba(20, 22, 26, 0.05);
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand span {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 14px; font-weight: 600; color: #4A4E56; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.current { color: var(--ink); }

.logo-mark rect { fill: var(--ink); }
.logo-mark path { stroke: var(--bg); }
.logo-mark circle { fill: var(--accent); }

/* ---------- hero ---------- */
.hero {
  padding-top: 88px;
  padding-bottom: 40px;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
  max-width: 920px;
  margin: 0 auto;
}
.hero-inner.left { align-items: flex-start; text-align: left; max-width: 720px; margin: 0; }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); font-weight: 700; line-height: 1.06; }
.hero p.sub { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 600px; }
.hero-btns { display: flex; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
.hero-inner.left .hero-btns { justify-content: flex-start; }
.hero-inner .hero-btns { justify-content: center; }

/* stacked card visual on Home hero */
.card-stack { position: relative; height: 220px; max-width: 560px; margin: 64px auto 0; }
.card-stack .c {
  position: absolute; left: 50%; width: 340px; height: 130px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
}
.card-stack .c1 { top: 40px; transform: translateX(-50%) rotate(-6deg); box-shadow: 0 20px 40px rgba(20,22,26,0.06); }
.card-stack .c2 { top: 22px; transform: translateX(-50%) rotate(4deg); box-shadow: 0 20px 40px rgba(20,22,26,0.07); }
.card-stack .c3 {
  top: 0; transform: translateX(-50%); box-shadow: 0 24px 48px rgba(20,22,26,0.09);
  display: flex; flex-direction: column; justify-content: center; padding: 0 26px; gap: 10px;
}
.bar { height: 9px; background: #ECEAE3; border-radius: 3px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- marquee ---------- */
.marquee {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.marquee-track {
  display: flex; width: max-content; gap: 56px; padding-left: 56px;
  animation: pkmarquee 42s linear infinite;
}
.marquee-track span {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 17px; font-weight: 600; color: #B9B6AC; white-space: nowrap;
}
@keyframes pkmarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; overflow-x: auto; }
}

/* ---------- stat / intro grid ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: start;
}
.intro-grid h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.2; max-width: 460px; }
.intro-grid p { font-size: 16px; line-height: 1.65; color: var(--muted); margin-top: 18px; max-width: 460px; }

.stat-dark {
  background: var(--ink); border-radius: 20px; padding: 34px; color: var(--bg);
}
.stat-dark .num { font-family: 'Bricolage Grotesque', sans-serif; font-size: 42px; font-weight: 700; line-height: 1; }
.stat-dark .label { font-size: 14px; color: #B9B6AC; margin-top: 8px; }

.stat-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 22px; }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.stat-card .num { font-family: 'Bricolage Grotesque', sans-serif; font-size: 30px; font-weight: 700; }
.stat-card .label { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

/* ---------- product cards ---------- */
.products-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.product-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 40px;
  display: flex; flex-direction: column; gap: 18px;
}
.product-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--card-tint);
  display: flex; align-items: center; justify-content: center;
}
.product-card h3 { font-size: 21px; font-weight: 700; }
.product-price { font-size: 14px; color: var(--muted); margin-top: 4px; }
.product-card p { font-size: 14.5px; line-height: 1.6; color: #4A4E56; }
.product-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- prompt pack catalog grid ---------- */
.packs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pack-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.pack-card h3 { font-size: 16.5px; font-weight: 700; line-height: 1.3; }
.pack-card .product-price { margin-top: -4px; }
.pack-card p { font-size: 13.5px; line-height: 1.55; color: #4A4E56; flex: 1; }
.pack-card .btn { align-self: flex-start; margin-top: 4px; }
.pack-card.is-badge .btn-ghost { cursor: default; opacity: 0.6; }
.packs-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.packs-count { font-size: 14px; color: var(--muted); }

/* ---------- closing CTA ---------- */
.cta-band {
  background: var(--ink); border-radius: 32px; padding: 72px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; color: var(--bg); line-height: 1.2; max-width: 520px; }
.cta-band p { font-size: 15.5px; color: #B9B6AC; margin-top: 14px; line-height: 1.6; max-width: 520px; }

/* ---------- checklists ---------- */
ul.check { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
ul.check li {
  font-size: 15px; line-height: 1.5; color: #333; padding-left: 28px; position: relative;
}
ul.check li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--card-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2l2.8 2.8 6.2-6.2' stroke='%2314161A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 10px;
}

/* ---------- content sections (kit / dfy pages) ---------- */
.content-block { max-width: 720px; }
.content-block + .content-block { margin-top: 64px; }
.content-block h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; }
.content-block p { font-size: 16px; line-height: 1.65; color: var(--muted); margin-top: 14px; }
.inline-link-cta { margin-top: 22px; font-size: 15px; font-weight: 600; }
.inline-link-cta a { text-decoration: underline; text-decoration-style: dashed; text-underline-offset: 3px; }

/* ---------- pricing box ---------- */
.pricing-box {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 32px; margin-top: 18px;
}
.pricing-box p { color: #333; }
.pricing-box p + p { margin-top: 10px; }

/* ---------- form ---------- */
.form-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  padding: 40px; max-width: 480px; margin-top: 24px;
}
.field-label { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; display: block; }
.field {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  padding: 13px 14px; font-size: 14.5px; font-family: inherit; color: var(--ink); margin-bottom: 16px;
}
.field:focus { outline: none; border-color: var(--accent); }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
.checkbox-row input { margin-top: 3px; }
.checkbox-row label { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.form-card .btn { width: 100%; justify-content: center; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; text-align: center; }
.form-success {
  display: none; background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  padding: 40px; max-width: 480px; margin-top: 24px; text-align: center;
}
.form-success h3 { font-size: 20px; font-weight: 700; }
.form-success p { font-size: 14.5px; color: var(--muted); margin-top: 10px; }

/* ---------- footer ---------- */
footer.site-footer { padding: 48px 48px 60px; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px;
  border-top: 1px solid var(--line); padding-top: 32px; max-width: 1180px; margin: 0 auto;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .lines { font-size: 13px; color: var(--muted); line-height: 1.6; }
.footer-links { display: flex; gap: 24px; font-size: 13.5px; font-weight: 600; color: #4A4E56; flex-wrap: wrap; }
.footer-links a { color: #4A4E56; }
.footer-links a:hover { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .packs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .section { padding: 64px 24px; }
  .nav-links span, .nav-links a { display: none; }
  .intro-grid, .products-grid, .stat-row, .packs-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 28px; flex-direction: column; align-items: flex-start; }
  footer.site-footer { padding: 40px 24px 48px; }
}
