/* Flowmation — warm + human design system */

:root {
  --teal: #0E6E6A;
  --teal-dark: #0A5552;
  --teal-soft: #E4F0EF;
  --amber: #F2A83B;
  --amber-dark: #D98E1F;
  --amber-soft: #FCF0DC;
  --ink: #26343F;
  --ink-soft: #4A5A66;
  --muted: #6B7A86;
  --paper: #FBF9F4;
  --card: #FFFFFF;
  --line: #E9E2D5;
  --shadow-sm: 0 1px 2px rgba(38, 52, 63, .06), 0 2px 6px rgba(38, 52, 63, .05);
  --shadow-lg: 0 2px 4px rgba(38, 52, 63, .06), 0 12px 32px rgba(38, 52, 63, .10);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Layout ---------- */

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }
.wrap.narrow { max-width: 760px; }
main { padding: 2rem 0 4rem; }

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

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 244, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

header.site .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: .8rem;
  padding-bottom: .8rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  letter-spacing: -.02em;
}
.brand img { height: 34px; width: auto; display: block; }

.brand .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--teal);
  color: #fff;
  font-size: .9rem;
}

header.site nav { display: flex; align-items: center; gap: .4rem; }
header.site nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  padding: .45rem .7rem;
  border-radius: 8px;
}
header.site nav a:hover { color: var(--teal); background: var(--teal-soft); }
header.site nav a.nav-cta {
  background: var(--amber);
  color: #5b3a06;
  font-weight: 600;
}
header.site nav a.nav-cta:hover { background: var(--amber-dark); color: #fff; }

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -.01em;
  line-height: 1.2;
  margin: 0 0 .6rem;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

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

.hero {
  text-align: center;
  padding: 3.5rem 1.25rem 3rem;
  background:
    radial-gradient(600px 240px at 20% -10%, var(--amber-soft) 0%, transparent 60%),
    radial-gradient(600px 260px at 85% 0%, var(--teal-soft) 0%, transparent 60%);
}
.hero .eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-soft);
  border-radius: 999px;
  padding: .3rem .8rem;
  margin-bottom: 1.1rem;
}
.hero h1 { max-width: 760px; margin-left: auto; margin-right: auto; }
.hero .lead { max-width: 620px; margin: 0 auto 1.8rem; }

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

.btn {
  display: inline-block;
  background: var(--amber);
  color: #5b3a06;
  font-weight: 600;
  font-size: 1rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(217, 142, 31, .28);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { background: var(--amber-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(217, 142, 31, .35); }
.btn.ghost { background: transparent; border: 1.5px solid var(--teal); color: var(--teal); box-shadow: none; }
.btn.ghost:hover { background: var(--teal-soft); color: var(--teal); }
.btn.teal { background: var(--teal); color: #fff; box-shadow: 0 2px 8px rgba(14, 110, 106, .25); }
.btn.teal:hover { background: var(--teal-dark); }
.btn.big { font-size: 1.15rem; padding: 1rem 2.2rem; }
.btn .arrow { margin-left: .35rem; }

.cta-row { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.cta-row.left { justify-content: flex-start; }

/* ---------- Trust strip ---------- */

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem 1.4rem;
  margin-top: 1.6rem;
}
.trust-strip span {
  font-size: .88rem;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.trust-strip .tick { color: var(--teal); font-weight: 700; }

/* ---------- Cards ---------- */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin: 1.25rem 0;
  box-shadow: var(--shadow-sm);
}

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Sections ---------- */

section { padding: 2.75rem 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.25rem; }
.section-head .lead { margin-bottom: 0; }

/* ---------- Product card ---------- */

.product {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.product .cover { border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.product .price-row { display: flex; align-items: center; gap: .8rem; margin: .4rem 0 1rem; }
.price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--teal); }
.price-was { color: var(--muted); text-decoration: line-through; }
.badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  background: var(--amber-soft);
  color: #8a5a0a;
  border-radius: 999px;
  padding: .25rem .6rem;
}
ul.checks { list-style: none; padding-left: 0; margin: 0; }
ul.checks li { padding-left: 1.7rem; position: relative; margin: .5rem 0; }
ul.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ---------- Feature cards ---------- */

.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.feature .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 1.25rem;
  margin-bottom: .8rem;
}
.feature h3 { margin-bottom: .35rem; }
.feature p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

/* ---------- Steps ---------- */

.steps { counter-reset: step; }
.step { position: relative; padding-left: 3.2rem; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: .1rem;
  width: 2.2rem; height: 2.2rem;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Quote / testimonial ---------- */

.quote {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.quote p { font-size: 1.02rem; font-style: italic; margin-bottom: .8rem; }
.quote .who { font-size: .88rem; color: var(--muted); font-style: normal; }

/* ---------- Guarantee ---------- */

.guarantee {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--teal);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
}
.guarantee .seal {
  font-family: var(--font-display);
  font-size: .8rem;
  text-align: center;
  line-height: 1.25;
  border: 2px solid var(--amber);
  color: var(--amber);
  border-radius: 50%;
  width: 110px; height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.guarantee h2 { color: #fff; margin-bottom: .4rem; }
.guarantee p { color: #D9EAE8; margin: 0; }

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

details.faq {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin: .7rem 0;
  box-shadow: var(--shadow-sm);
}
details.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
details.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--teal); font-weight: 400; }
details.faq[open] summary::after { content: "–"; }
details.faq .body { margin-top: .8rem; color: var(--ink-soft); font-size: .97rem; }

/* ---------- CTA band ---------- */

.cta-band {
  text-align: center;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 3rem 2rem;
}
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #C9D3DA; }

/* ---------- Note / callout ---------- */

.note {
  background: var(--amber-soft);
  border: 1px solid #F0DDBB;
  border-left: 4px solid var(--amber);
  padding: .9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: .95rem;
}

/* ---------- Blog ---------- */

article.post { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.25rem; box-shadow: var(--shadow-sm); }
article.post h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
article.post .meta { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }

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

footer.site { background: var(--ink); color: #C9D3DA; padding: 2.25rem 0 2rem; font-size: .92rem; }
footer.site .grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
footer.site h4 { color: #fff; font-family: var(--font-display); font-size: 1rem; margin: 0 0 .7rem; }
footer.site a { color: #C9D3DA; text-decoration: none; display: block; margin: .3rem 0; }
footer.site a:hover { color: var(--amber); }
footer.site .brand { color: #fff; margin-bottom: .6rem; }
footer.site .fine { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); color: #8FA0AC; font-size: .82rem; }

/* ---------- Tables ---------- */

table { border-collapse: collapse; width: 100%; margin: 1rem 0; }
th, td { border: 1px solid var(--line); padding: .55rem .8rem; text-align: left; }
th { background: var(--teal-soft); }

/* ---------- Sticky mobile buy bar ---------- */

.buy-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  background: var(--card);
  border-top: 1px solid var(--line);
  padding: .8rem 1.25rem;
  box-shadow: 0 -4px 16px rgba(38, 52, 63, .12);
}
.buy-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.buy-bar .price { font-size: 1.25rem; }
.buy-bar .btn { margin: 0; padding: .7rem 1.4rem; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; text-align: center; }
  .product .cover { max-width: 320px; margin: 0 auto; }
  .product .cta-row { justify-content: center; }
  .guarantee { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  footer.site .grid { grid-template-columns: 1fr 1fr; }
  .buy-bar { display: block; }
  main { padding-bottom: 5rem; }
}

@media (max-width: 560px) {
  header.site .wrap { flex-direction: column; gap: .4rem; text-align: center; }
  header.site nav { flex-wrap: wrap; justify-content: center; }
  .hero { padding: 2.5rem 1rem 2rem; }
  footer.site .grid { grid-template-columns: 1fr; }
}
