/* Custom Software Simple — software/AI restyle, busqueneil.com palette kept
   canvas #F5F0E8 · card #FFFCF5 · ink #161513 · muted #605B54
   accents #FFEEB9 (yellow) → #FFD6E1 (pink) as chips, hairlines, glows
   Geist (sans, everything) · Geist Mono (labels, tags, captions) */

:root {
  --canvas: #F5F0E8;
  --card: #FFFCF5;
  --ink: #161513;
  --muted: #605B54;
  --line: rgba(22, 21, 19, 0.12);
  --line-soft: rgba(22, 21, 19, 0.07);
  --yellow: #FFEEB9;
  --pink: #FFD6E1;
  --grad: linear-gradient(90deg, var(--yellow), var(--pink));
  --r: 14px;
  --r-btn: 10px;
  --nav-h: 60px;
}

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

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(rgba(22, 21, 19, 0.055) 1px, transparent 1px) 0 0 / 26px 26px,
    var(--canvas);
  color: var(--ink);
  font-family: "Geist", system-ui, sans-serif;
  font-size: 17.5px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* top gradient hairline, the one loud brand stroke */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  z-index: 60;
}

h1, h2 {
  font-family: "Lilita One", "Geist", sans-serif;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.005em;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.3rem); max-width: 21ch; margin: 0 auto; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); max-width: 24ch; }

/* emphasis = tilted highlighter chips, uglysitescraper-style */
h1 em, h2 em {
  font-style: normal;
  background: var(--yellow);
  border-radius: 8px;
  padding: 0.02em 0.2em;
  display: inline-block;
  transform: rotate(-1.2deg);
}
h1 em.hl-2 { background: var(--pink); transform: rotate(1.1deg); }

h3 {
  font-weight: 650;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}

a { color: inherit; }

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

.mono {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.micro { font-size: 0.92rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: var(--r-btn);
  padding: 0.78rem 1.45rem;
  min-height: 32px;
  border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark {
  background: var(--ink);
  color: #FFFDF8;
  box-shadow: 0 1px 0 rgba(22, 21, 19, 0.3);
}
.btn-dark:hover { box-shadow: 0 4px 14px rgba(22, 21, 19, 0.22); }
.btn-light { background: var(--card); color: var(--ink); border-color: var(--ink); }
.btn-cream { background: var(--grad); color: var(--ink); }
.btn-pop {
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.btn-pop:hover { transform: translate(-1px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.btn-big { padding: 1rem 2rem; font-size: 1.1rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 3px; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(245, 240, 232, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}
.nav-brand {
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-cta { padding: 0.55rem 1.15rem; font-size: 0.87rem; }

/* ---------- Layout ---------- */
main { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }

.section { padding: 4.5rem 0 1rem; }
.section h2 { margin-bottom: 2rem; }
.section-sub { color: var(--muted); max-width: 48ch; margin: -1.2rem 0 2rem; }

/* auto section numbering, engineering-doc style */
main { counter-reset: sec; }
.section > .eyebrow { counter-increment: sec; }
.section > .eyebrow::before {
  content: "0" counter(sec) " / ";
  color: var(--ink);
}

.section-close {
  font-family: "Lilita One", sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  margin-top: 2rem;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
.hero > *, .grid-3 > *, .grid-2 > * { min-width: 0; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem;
  position: relative;
}
.card p { color: var(--ink); }
.card-tag { color: var(--muted); margin-bottom: 0.85rem; display: block; }
.card-tag.warn { color: #C0392B; }
.card ul { list-style: none; }
.card li {
  padding: 0.32rem 0 0.32rem 1.35rem;
  position: relative;
}
.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78rem;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--grad);
  border: 1px solid rgba(22, 21, 19, 0.35);
}

/* ---------- Hero ---------- */
.hero-wrap { padding-top: calc(3px + var(--nav-h) + clamp(2.5rem, 6vw, 5rem)); }

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--line);
}

.hero-eyebrow { display: flex; align-items: center; justify-content: center; gap: 0.55rem; }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3BA55D;
  box-shadow: 0 0 0 3px rgba(59, 165, 93, 0.18);
  flex: none;
}

.hero .lede {
  margin: 1.5rem auto 0;
  font-size: 1.22rem;
  color: #4A453E;
  max-width: 54ch;
}

.hero-cta { margin-top: 2rem; display: flex; align-items: center; justify-content: center; gap: 1.1rem; flex-wrap: wrap; }

.doodle { display: flex; justify-content: center; padding: 2.4rem 0 0; color: var(--ink); opacity: 0.75; }
.doodle svg { transform: rotate(-8deg); }

/* browser-chrome frame around the product shot */
.frame {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(22, 21, 19, 0.08),
    0 18px 50px rgba(22, 21, 19, 0.16);
}
.frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-soft);
  background: #F8F3EA;
}
.frame-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(22, 21, 19, 0.16);
}
.frame-bar i:first-child { background: var(--pink); }
.frame-bar i:nth-child(2) { background: var(--yellow); }
.frame-bar span { margin-left: 8px; color: var(--muted); letter-spacing: 0.06em; }
.frame img { width: 100%; height: auto; }

.hero-shot { width: min(940px, 100%); margin-top: 3rem; }
.hero-shot figcaption { margin-top: 0.9rem; color: var(--muted); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  padding: 2.2rem 0 0;
}
.stat {
  border-top: 2px solid var(--ink);
  padding: 0.9rem 0 1.4rem;
}
.stat strong {
  display: block;
  font-family: "Lilita One", sans-serif;
  font-weight: 400;
  font-size: 2.5rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.stat span {
  color: var(--muted);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* ---------- Steps as a pipeline ---------- */
.step { padding-top: 1.7rem; }
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--r) var(--r) 0 0;
  background: var(--grad);
}

/* ---------- Mechanism ---------- */
.mech-inner {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(1.8rem, 4vw, 3.2rem);
}
.mech-inner h2 { margin-bottom: 1.1rem; }
.mech-inner > p:last-child { max-width: 64ch; color: #4A453E; }
.mech .eyebrow { margin-bottom: 1.1rem; }

/* ---------- Price ---------- */
.price {
  font-family: "Lilita One", sans-serif;
  font-weight: 400;
  font-size: 2.9rem;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1.2rem;
}
.price span {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-card { padding: 1.7rem; }
.price-card ul { margin-bottom: 1.6rem; }
.price-card .btn { width: 100%; text-align: center; }

/* ---------- Who ---------- */
.who-inner {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(255, 214, 225, 0.5) 0%, transparent 60%),
    radial-gradient(60% 120% at 0% 100%, rgba(255, 238, 185, 0.5) 0%, transparent 60%),
    var(--card);
  padding: clamp(1.8rem, 4vw, 3rem);
}
.who-copy { font-size: 1.22rem; max-width: 60ch; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(rgba(255, 253, 248, 0.06) 1px, transparent 1px) 0 0 / 22px 22px,
    #161513;
  color: #FFFDF8;
  border-radius: var(--r);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  margin: 4.5rem 0 2rem;
}
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
  pointer-events: none;
}
.cta-band::before { background: var(--yellow); top: -220px; left: -140px; }
.cta-band::after { background: var(--pink); bottom: -240px; right: -140px; }
.cta-band h2 { max-width: none; margin-bottom: 0.9rem; position: relative; }
.cta-band p { color: rgba(255, 253, 248, 0.72); margin-bottom: 2rem; position: relative; }
.cta-band .btn { position: relative; }

/* ---------- Footer ---------- */
.footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 2.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer a { min-height: 32px; display: inline-block; }

/* ---------- Hero guarantee chips ---------- */
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.6rem;
}
.chips li {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 0.42rem 0.85rem;
  color: var(--ink);
}
.chips li::before {
  content: "✓ ";
  font-weight: 700;
}

/* ---------- Offer stack ---------- */
.stack { padding: 0; overflow: hidden; }
.stack-list { list-style: none; }
.stack-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.4rem 1.7rem;
  border-bottom: 1px solid var(--line-soft);
}
.stack-list li::before { content: none; }
.stack-list h3 { margin-bottom: 0.3rem; }
.stack-list p { color: #4A453E; font-size: 1.02rem; max-width: 52ch; }
.stack-val {
  flex: none;
  color: var(--muted);
  padding-top: 0.25rem;
  text-align: right;
}
.stack-total {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.6rem 1.7rem;
  background:
    radial-gradient(80% 200% at 0% 0%, rgba(255, 238, 185, 0.55) 0%, transparent 60%),
    radial-gradient(80% 200% at 100% 100%, rgba(255, 214, 225, 0.55) 0%, transparent 60%),
    var(--card);
}
.stack-total .mono { color: var(--muted); }
.stack-total s { text-decoration-thickness: 2px; }
.stack-price {
  font-family: "Lilita One", sans-serif;
  font-weight: 400;
  font-size: 2.2rem;
  letter-spacing: -0.04em;
  line-height: 1;
}
.stack-price span {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.stack-total .btn { margin-left: auto; }
.stack-note { margin-top: 1rem; }

/* ---------- Guarantee ---------- */
.guarantee-card { padding-top: 1.4rem; }
.guarantee-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--r) var(--r) 0 0;
  background: var(--grad);
}
.g-num {
  font-weight: 800;
  font-size: 2.6rem;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.7rem;
  background: var(--grad);
  border: 1px solid rgba(22, 21, 19, 0.3);
  border-radius: 10px;
  width: 3.2rem;
  height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

/* ---------- Cost comparison ---------- */
.vs-card .price { margin-top: 0.2rem; margin-bottom: 0.9rem; }
.vs-card > p:last-child { color: #4A453E; font-size: 1.02rem; }
.vs-best {
  background:
    radial-gradient(rgba(255, 253, 248, 0.05) 1px, transparent 1px) 0 0 / 22px 22px,
    var(--ink);
  color: #FFFDF8;
  border-color: var(--ink);
}
.vs-best .card-tag { color: rgba(255, 253, 248, 0.65); }
.vs-best .price { color: #FFFDF8; }
.vs-best > p:last-child { color: rgba(255, 253, 248, 0.85); }
.vs-best .price span { color: rgba(255, 253, 248, 0.65); }
.vs-best::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--r) var(--r) 0 0;
  background: var(--grad);
}



/* ---------- Tools ---------- */
.tool-card { padding: 1.2rem 1.4rem; }
.tool-card h3 { margin-bottom: 0.35rem; }
.tool-card p { color: #4A453E; font-size: 0.98rem; }

/* ---------- FAQ ---------- */
.faq-grid { align-items: start; }
.faq-grid .card p:last-child { color: #4A453E; font-size: 1rem; }

/* ---------- CTA chips line ---------- */
.cta-chips {
  margin-top: 1.4rem;
  margin-bottom: 0 !important;
  color: rgba(255, 253, 248, 0.6) !important;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  position: relative;
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .stats { grid-template-columns: 1fr; }
  .stat { padding-bottom: 1rem; }
  .section { padding-top: 3rem; }
  .footer { flex-direction: column; gap: 0.3rem; }
  .stack-list li { flex-direction: column; gap: 0.5rem; padding: 1.2rem 1.3rem; }
  .stack-val { text-align: left; padding-top: 0; }
  .stack-total { padding: 1.4rem 1.3rem; }
  .stack-total .btn { margin-left: 0; width: 100%; text-align: center; }
}
