/* CleanScale — brand styles */
:root {
  --teal: #0F6B5C;
  --teal-dark: #0A4E43;
  --teal-light: #E4F2EF;
  --cream: #FAF6EF;
  --yellow: #F5B841;
  --yellow-soft: #FCEBC8;
  --charcoal: #1F2933;
  --gray: #5B6773;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(15, 107, 92, 0.10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
}
img, svg { max-width: 100%; }
a { color: var(--teal); }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

/* Header */
header.site {
  background: var(--cream);
  border-bottom: 1px solid rgba(31, 41, 51, 0.08);
  position: sticky; top: 0; z-index: 50;
}
header.site .bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1080px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--charcoal); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.logo .mark { width: 30px; height: 30px; }
nav.main { display: flex; gap: 26px; align-items: center; }
nav.main a { text-decoration: none; color: var(--gray); font-weight: 600; font-size: 0.95rem; }
nav.main a:hover { color: var(--teal); }
nav.main a.btn { color: var(--white); }

/* Buttons */
.btn {
  display: inline-block; background: var(--teal); color: var(--white) !important;
  padding: 14px 28px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 1rem; border: none; cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn.big { padding: 18px 40px; font-size: 1.15rem; }
.btn.yellow { background: var(--yellow); color: var(--charcoal) !important; }
.btn.yellow:hover { background: #ECA92B; }
.btn.ghost { background: transparent; color: var(--teal) !important; border: 2px solid var(--teal); }
.btn.ghost:hover { background: var(--teal-light); }

/* Hero */
.hero { padding: 80px 0 64px; text-align: center; }
.hero .eyebrow {
  display: inline-block; background: var(--yellow-soft); color: #8a6210;
  font-weight: 700; font-size: 0.85rem; padding: 6px 16px; border-radius: 999px;
  margin-bottom: 22px; letter-spacing: 0.02em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.12; letter-spacing: -0.03em; font-weight: 800; }
h1 .accent { color: var(--teal); }
.hero p.sub { font-size: 1.25rem; color: var(--gray); max-width: 640px; margin: 22px auto 34px; }
.hero .cta-note { font-size: 0.9rem; color: var(--gray); margin-top: 14px; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--white); }
section.teal { background: var(--teal); color: var(--white); }
section.teal h2, section.teal p { color: var(--white); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 14px; font-weight: 800; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head p { color: var(--gray); font-size: 1.1rem; }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid rgba(15, 107, 92, 0.06);
}
section.alt .card { background: var(--cream); box-shadow: none; border: 1px solid rgba(15,107,92,.1); }
.card .icon { font-size: 1.8rem; margin-bottom: 12px; display: block; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { color: var(--gray); font-size: 0.98rem; }

/* Prompt example */
.prompt-box {
  background: var(--charcoal); color: #E7ECEF; border-radius: var(--radius);
  padding: 22px 26px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92rem; line-height: 1.6; text-align: left; overflow-x: auto;
}
.prompt-box .ph { color: var(--yellow); }

/* Checklist */
ul.checks { list-style: none; }
ul.checks li { padding: 9px 0 9px 36px; position: relative; }
ul.checks li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 22px; height: 22px;
  background: var(--teal-light); border-radius: 50%;
}
ul.checks li::after {
  content: "✓"; position: absolute; left: 5px; top: 9px; color: var(--teal); font-weight: 800; font-size: 0.85rem;
}

/* Pricing */
.price-card {
  background: var(--white); border-radius: 20px; box-shadow: var(--shadow);
  max-width: 520px; margin: 0 auto; padding: 44px 40px; text-align: center;
  border: 3px solid var(--teal);
}
.price-card .was { text-decoration: line-through; color: var(--gray); font-size: 1.3rem; }
.price-card .now { font-size: 3.2rem; font-weight: 800; color: var(--teal); letter-spacing: -0.03em; }
.price-card .launch-tag { display: inline-block; background: var(--yellow); color: var(--charcoal); font-weight: 700; font-size: 0.85rem; padding: 5px 14px; border-radius: 999px; margin-bottom: 16px; }
.guarantee { display: flex; gap: 12px; align-items: flex-start; background: var(--teal-light); border-radius: var(--radius); padding: 18px 22px; margin-top: 26px; text-align: left; font-size: 0.95rem; }

/* FAQ */
details {
  background: var(--white); border-radius: var(--radius); padding: 20px 26px;
  margin-bottom: 12px; border: 1px solid rgba(15,107,92,.1);
}
details summary { font-weight: 700; cursor: pointer; font-size: 1.05rem; }
details p { margin-top: 12px; color: var(--gray); }

/* Forms */
.email-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; }
.email-form input[type="email"] {
  flex: 1; min-width: 220px; padding: 15px 20px; border-radius: 999px;
  border: 2px solid rgba(15,107,92,.25); font-size: 1rem; font-family: var(--font); background: var(--white);
}
.email-form input[type="email"]:focus { outline: none; border-color: var(--teal); }

/* Blog */
.post-list article { background: var(--white); border-radius: var(--radius); padding: 30px; margin-bottom: 20px; box-shadow: var(--shadow); }
.post-list h3 { font-size: 1.3rem; margin-bottom: 6px; }
.post-list h3 a { text-decoration: none; color: var(--charcoal); }
.post-list h3 a:hover { color: var(--teal); }
.post-meta { color: var(--gray); font-size: 0.88rem; margin-bottom: 10px; }
.prose { max-width: 720px; margin: 0 auto; }
.prose h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 20px 0 18px; }
.prose h2 { font-size: 1.5rem; margin: 38px 0 14px; }
.prose h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.prose p { margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 18px 26px; }
.prose li { margin-bottom: 8px; }
.prose blockquote { border-left: 4px solid var(--yellow); padding: 8px 20px; background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 18px; color: var(--gray); }
.prose code { background: var(--teal-light); padding: 2px 7px; border-radius: 6px; font-size: 0.88em; }
.prose pre { background: var(--charcoal); color: #E7ECEF; padding: 20px 24px; border-radius: var(--radius); overflow-x: auto; margin-bottom: 18px; }
.prose pre code { background: none; color: inherit; padding: 0; }
.prose table { border-collapse: collapse; width: 100%; margin-bottom: 18px; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.prose th, .prose td { padding: 10px 14px; border: 1px solid rgba(15,107,92,.12); text-align: left; }
.prose th { background: var(--teal-light); }
.cta-banner {
  background: var(--teal); color: var(--white); border-radius: var(--radius);
  padding: 30px 34px; margin: 36px 0; text-align: center;
}
.cta-banner h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,.85); margin-bottom: 18px; }

/* Footer */
footer.site { background: var(--charcoal); color: #AFBAC4; padding: 48px 0 36px; margin-top: 0; }
footer.site .cols { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
footer.site a { color: #DDE3E8; text-decoration: none; font-size: 0.92rem; display: block; margin-bottom: 8px; }
footer.site a:hover { color: var(--yellow); }
footer.site .brand { font-weight: 800; color: var(--white); font-size: 1.1rem; margin-bottom: 8px; }
footer.site .fine { max-width: 1080px; margin: 30px auto 0; padding: 20px 24px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 0.82rem; }

@media (max-width: 640px) {
  nav.main a:not(.btn) { display: none; }
  .hero { padding: 52px 0 44px; }
  section { padding: 48px 0; }
}
