/* Liquid Business — example site
   1. Tokens  2. Base  3. Layout  4. Header  5. Sections  6. Components  7. Footer  8. Responsive */

/* 1. Tokens (brand guide: navy, blue, light blue, white; Poppins + Work Sans) */
:root {
  --navy: #202E4D;
  --blue: #2281E0;
  --sky: #63C2FF;
  --sky-soft: #EEF7FF;
  --ink: #202E4D;
  --ink-soft: #55607A;
  --line: #E3E8F0;
  --bg: #FFFFFF;
  --bg-alt: #F7FAFD;
  --radius: 14px;
  --measure: 40rem;      /* ~640px text column */
  --wide: 66rem;         /* ~1056px card grid */
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Work Sans", system-ui, sans-serif;
}

/* 2. Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: underline; text-decoration-color: var(--sky); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--blue); }
img, svg { max-width: 100%; display: block; }
button, input { font: inherit; }
.muted { color: var(--ink-soft); }
.eyebrow { font-family: var(--font-head); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.9rem; }
.center { text-align: center; }

/* 3. Layout */
.wrap { width: min(100% - 2rem, var(--wide)); margin-inline: auto; }
.narrow { width: min(100% - 2rem, var(--measure)); margin-inline: auto; }
section { padding: clamp(4rem, 9vw, 7rem) 0; }
section + section { border-top: 1px solid var(--line); }
.alt { background: var(--bg-alt); }
.grid-3 { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
.grid-2 { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); }

/* 4. Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.site-header.is-stuck { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.nav .logo img { height: 34px; width: auto; }
.nav ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; }
.nav ul a { color: var(--ink); text-decoration: none; font-size: 0.98rem; }
.nav ul a:hover { color: var(--blue); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-right .login { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 0.4rem 0.7rem; cursor: pointer; }

/* 5. Sections */
.hero { padding-top: clamp(3rem, 8vw, 6rem); }
.hero .narrow { text-align: center; }
.hero p.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 34rem; margin-inline: auto; }
.hero .fine { font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.9rem; }
.hero-visual { margin: 3rem auto 0; width: min(100% - 2rem, 52rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); padding: 1.25rem; box-shadow: 0 20px 50px -30px rgba(32,46,77,0.35); }
.issue-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 1.25rem 1.5rem; text-align: left; }
.issue-card .from { font-size: 0.85rem; color: var(--ink-soft); }
.issue-card h3 { margin: 0.35rem 0 0.75rem; }
.issue-card ol { margin: 0; padding-left: 1.2rem; color: var(--ink-soft); }
.issue-card ol li { margin: 0.25rem 0; }
.issue-card ol strong { color: var(--ink); font-weight: 600; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.card blockquote { margin: 0 0 0.9rem; font-family: var(--font-head); font-size: 1.15rem; color: var(--navy); }
.card .tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.75rem 0 1rem; }
.card .tags span { font-size: 0.8rem; background: var(--sky-soft); color: var(--navy); border-radius: 999px; padding: 0.2rem 0.6rem; }
.card .more { font-weight: 600; text-decoration: none; }
.card .more::after { content: " →"; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.75rem; counter-reset: step; margin-top: 2rem; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1rem; }
.step .n { font-family: var(--font-head); color: var(--blue); font-size: 0.9rem; }
.step h3 { font-size: 1.05rem; margin: 0.3rem 0 0.4rem; }
.step p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.feature { padding: 1.25rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.feature .icon { width: 36px; height: 36px; border-radius: 10px; background: var(--sky-soft); display: grid; place-items: center; margin-bottom: 0.9rem; color: var(--blue); font-family: var(--font-head); font-weight: 600; }
.feature h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.feature p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; background: #fff; }
.plan.featured { border-color: var(--blue); box-shadow: 0 0 0 3px var(--sky-soft); }
.plan .price { font-family: var(--font-head); font-size: 2rem; margin: 0.4rem 0 0; }
.plan .per { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 1rem; }
.plan ul { padding-left: 1.1rem; margin: 0 0 1.25rem; font-size: 0.95rem; color: var(--ink-soft); }
.plan ul li { margin: 0.3rem 0; }

.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.offer { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; background: #fff; display: flex; flex-direction: column; }
.offer .who { font-size: 0.9rem; color: var(--blue); font-family: var(--font-head); }
.offer h3 { margin: 0.3rem 0 0.5rem; }
.offer .price { font-family: var(--font-head); font-size: 1.5rem; margin: 0.5rem 0 0.2rem; }
.offer .time { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0.9rem; }
.offer p.what { font-size: 0.95rem; color: var(--ink-soft); flex: 1; }
.how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.how div { padding: 1.1rem; background: var(--sky-soft); border-radius: var(--radius); font-size: 0.95rem; }
.how strong { display: block; font-family: var(--font-head); font-weight: 500; color: var(--navy); margin-bottom: 0.2rem; }

.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.outcome .num { font-family: var(--font-head); color: var(--sky); font-size: 2.2rem; line-height: 1; }
.outcome h3 { margin: 0.4rem 0 0.4rem; font-size: 1.1rem; }
.outcome p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

.about { display: grid; grid-template-columns: 200px 1fr; gap: 2rem; align-items: center; }
.about .photo { aspect-ratio: 1; border-radius: 50%; background: linear-gradient(160deg, var(--sky-soft), var(--sky)); display: grid; place-items: center; color: var(--navy); font-family: var(--font-head); font-size: 0.85rem; text-align: center; padding: 1rem; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.quote p { font-family: var(--font-head); font-size: 1.05rem; color: var(--navy); }
.quote cite { font-style: normal; font-size: 0.9rem; color: var(--ink-soft); }
.placeholder { outline: 1px dashed var(--sky); outline-offset: 4px; }

.faq details { border-top: 1px solid var(--line); padding: 1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--font-head); font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0.75rem 0 0; color: var(--ink-soft); }

.closing { text-align: center; }
.closing .guarantee { font-size: 0.9rem; color: var(--ink-soft); margin-top: 1rem; }

/* 6. Components */
.btn { display: inline-block; white-space: nowrap; background: var(--blue); color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 500; padding: 0.85rem 1.4rem; border-radius: 10px; border: 0; cursor: pointer; transition: background 0.15s, transform 0.15s; }
.btn:hover { background: #1b6fc4; transform: translateY(-1px); }
.btn.secondary { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.btn.secondary:hover { border-color: var(--blue); background: #fff; }
.btn.small { padding: 0.55rem 1rem; font-size: 0.95rem; }
.subscribe { display: flex; gap: 0.5rem; max-width: 30rem; margin: 1.5rem auto 0; }
.subscribe input { flex: 1; padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: 10px; font-size: 1rem; }
.subscribe input:focus { outline: 2px solid var(--sky); border-color: var(--blue); }
.form-note { font-size: 0.9rem; color: var(--blue); margin-top: 0.75rem; min-height: 1.4em; }

/* 7. Footer */
.site-footer { background: var(--navy); color: #C9D4E5; padding: 3.5rem 0 2rem; }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; align-items: start; }
.site-footer img { height: 30px; width: auto; margin-bottom: 1rem; }
.site-footer h4 { color: #fff; font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.7rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.35rem 0; font-size: 0.95rem; }
.site-footer a { color: #C9D4E5; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2.5rem; padding-top: 1.25rem; font-size: 0.85rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* 8. Responsive */
@media (max-width: 900px) {
  .grid-3, .features, .plans, .offers, .outcomes, .quotes { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .how { grid-template-columns: repeat(2, 1fr); }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .nav ul { display: none; }
  .nav.open ul { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 72px; background: #fff; padding: 1rem; border-bottom: 1px solid var(--line); }
  .menu-btn { display: inline-block; }
  .nav-right .login { display: none; }
  .nav .logo img { height: 28px; }
  .nav-right { gap: 0.5rem; }
  .nav-right .btn.small { padding: 0.5rem 0.8rem; font-size: 0.9rem; }
  .steps, .how, .site-footer .top { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about .photo { width: 140px; }
  .subscribe { flex-direction: column; }
  .hero-visual { padding: 0.75rem; }
}
