@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700;900&display=swap');

/* =========================================================
   Qlite — Brand Design System
   White-led brand site with deep-green feature blocks.
   Narrow, tall, refined. Clean professional CRM brand.
   ========================================================= */

:root {
  /* Brand greens */
  --color-brand-900: #0f241a;
  --color-brand-800: #122b1f;
  --color-brand-700: #14332a;
  --color-brand-600: #1d4a34;
  --color-accent: #16a34a;
  --color-accent-600: #15803d;
  --color-accent-300: #4ade80;
  --color-accent-soft: #e7f3ec;

  /* Neutrals */
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-surface-muted: #f7f9f8;
  --color-surface-green: #f1f7f4;
  --color-border: #e6ebe8;
  --color-border-soft: #eef2f0;
  --color-text: #16221c;
  --color-text-muted: #5d6c64;
  --color-text-invert: #ffffff;
  --color-text-invert-muted: #b6c7bd;

  /* Typography */
  --font-sans: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang TC", "Microsoft JhengHei", Roboto, Helvetica, Arial, sans-serif;

  /* Radii */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 36, 26, .05);
  --shadow: 0 10px 30px rgba(15, 36, 26, .07);
  --shadow-lg: 0 30px 70px rgba(15, 36, 26, .16);

  /* Layout — narrower, taller */
  --container: 1080px;
  --container-narrow: 720px;
  --gutter: clamp(20px, 5vw, 36px);
  --nav-h: 64px;

  --transition: .2s ease;
}

/* ----------------------------- Reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.72;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }
h1, h2, h3, h4 { line-height: 1.28; font-weight: 700; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--color-accent-300); outline-offset: 2px; }

/* --------------------------- Layout ------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(64px, 9vw, 120px); }
.section--muted { background: var(--color-surface-muted); }
.section--green  { background: var(--color-surface-green); }
.section--dark {
  background: var(--color-brand-800);
  color: var(--color-text-invert);
}

.section-head { max-width: 620px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-accent-600);
  background: var(--color-accent-soft);
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.section--dark .eyebrow { color: var(--color-accent-300); background: rgba(22,163,74,.16); }
.section-title { font-size: clamp(1.6rem, 3.2vw, 2.35rem); font-weight: 700; letter-spacing: -.02em; }
.section-subtitle { margin-top: 16px; color: var(--color-text-muted); font-size: 1.02rem; }
.section--dark .section-subtitle { color: var(--color-text-invert-muted); }

/* ---------------------------- Buttons ---------------------------- */
/* Smaller, flatter, refined */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  line-height: 1;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--color-accent);
  color: #fff;
}
.btn--primary:hover { background: var(--color-accent-600); }
.btn--dark { background: var(--color-brand-700); color: #fff; }
.btn--dark:hover { background: var(--color-brand-600); }
.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn--ghost:hover { border-color: var(--color-accent); color: var(--color-accent-600); }
.section--dark .btn--ghost,
.cta-split__body .btn--ghost { color: #fff; border-color: rgba(255,255,255,.25); }
.section--dark .btn--ghost:hover,
.cta-split__body .btn--ghost:hover { border-color: var(--color-accent-300); color: var(--color-accent-300); }
.btn--light { background: #fff; color: var(--color-brand-800); }
.btn--light:hover { background: var(--color-surface-green); }
.btn--lg { padding: 12px 26px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------------------------- Navbar ----------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.navbar__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 18px;
}
/* Brand: refined plain wordmark + tiny optional sub */
.navbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--color-brand-800);
  letter-spacing: -.02em;
}
.navbar__brand .navbar__brand-name { font-weight: 700; }
.navbar__brand .navbar__brand-sub {
  font-size: .72rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: .02em;
}
/* Tiny square mark (optional, small) */
.navbar__logo {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--color-brand-800);
  color: #fff;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 700;
}
.navbar__menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline: auto;
}
.navbar__link {
  position: relative;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: background var(--transition), color var(--transition);
}
.navbar__link:hover { color: var(--color-text); background: var(--color-surface-green); }
.navbar__link[aria-current="page"] { color: var(--color-text); }
.navbar__link--mobile-only { display: none; }

/* Dropdown */
.has-dropdown { position: relative; }
.navbar__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.has-dropdown:hover .navbar__dropdown,
.has-dropdown:focus-within .navbar__dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.navbar__dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  color: var(--color-text-muted);
}
.navbar__dropdown a:hover { background: var(--color-surface-green); color: var(--color-accent-600); }
.navbar__caret { font-size: .65rem; opacity: .6; }

.navbar__actions { display: flex; align-items: center; gap: 8px; }
.navbar__icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  font-size: .85rem; font-weight: 600;
  transition: background var(--transition), color var(--transition);
}
.navbar__icon-btn:hover { background: var(--color-surface-green); color: var(--color-text); }
.navbar__login {
  font-size: .88rem; font-weight: 500;
  color: var(--color-text-muted);
  padding: 7px 10px; border-radius: var(--radius-sm);
}
.navbar__login:hover { color: var(--color-text); }
.navbar__toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  align-items: center; justify-content: center;
}
.navbar__toggle span {
  position: relative;
  width: 19px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar__toggle span::before,
.navbar__toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 19px; height: 2px; background: var(--color-text); border-radius: 2px;
  transition: var(--transition);
}
.navbar__toggle span::before { top: -6px; }
.navbar__toggle span::after { top: 6px; }
.navbar.is-open .navbar__toggle span { background: transparent; }
.navbar.is-open .navbar__toggle span::before { top: 0; transform: rotate(45deg); }
.navbar.is-open .navbar__toggle span::after  { top: 0; transform: rotate(-45deg); }

/* ----------------------------- Hero (base = dark, used by tools) -- */
.hero {
  position: relative;
  background: radial-gradient(120% 120% at 80% -10%, var(--color-brand-700) 0%, var(--color-brand-900) 55%);
  color: var(--color-text-invert);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(40% 50% at 90% 100%, rgba(22,163,74,.2), transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 96px);
}
.hero__content { max-width: 580px; }
.hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.16;
  font-weight: 700;
}
.hero__title .accent { color: var(--color-accent-300); }
.hero__lead {
  margin-top: 20px;
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  color: var(--color-text-invert-muted);
}
.hero__subtitle { margin-top: 18px; color: var(--color-text-invert-muted); font-size: 1.08rem; }
.hero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 20px; color: var(--color-text-invert-muted); font-size: .88rem; }
.hero__meta li { display: flex; align-items: center; gap: 7px; }
.hero__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.1);
}
.hero--center .hero__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hero--center .hero__actions { justify-content: center; }
.hero--center .hero__meta { justify-content: center; }

/* Compact hero (tools / blog) — stays DARK */
.hero--compact { background: var(--color-brand-800); }
.hero--compact .hero__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; padding-block: clamp(48px, 7vw, 76px); }
.hero--compact .hero__actions, .hero--compact .hero__meta { justify-content: center; }
.hero--compact .hero__content { display: contents; }

/* ===== Home hero — WHITE, single column, centered, big screenshot ===== */
.hero--home {
  background: #fff;
  color: var(--color-text);
}
.hero--home::after { display: none; }
.hero--home .hero__inner {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
  gap: clamp(40px, 6vw, 64px);
  padding-block: clamp(64px, 9vw, 112px);
}
.hero--home .hero__content { max-width: 720px; }
.hero--home .eyebrow { margin-bottom: 20px; }
.hero--home .hero__title { font-size: clamp(2.1rem, 5.2vw, 3.4rem); letter-spacing: -.03em; }
.hero--home .hero__title .accent { color: var(--color-accent-600); }
.hero--home .hero__lead { color: var(--color-text-muted); max-width: 600px; margin-inline: auto; }
.hero--home .hero__actions { justify-content: center; }
.hero--home .hero__meta { justify-content: center; color: var(--color-text-muted); }
.hero--home .hero__media {
  width: 100%;
  max-width: 980px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: 0 40px 90px rgba(15,36,26,.18);
}

/* ----------------------------- Grid ------------------------------ */
.grid { display: grid; gap: clamp(16px, 2.2vw, 24px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ----------------------------- Cards ----------------------------- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d6e0da; }
.card__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--color-accent-soft);
  color: var(--color-accent-600);
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.card__title { font-size: 1.1rem; font-weight: 700; }
.card__text { margin-top: 9px; color: var(--color-text-muted); font-size: .95rem; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 15px; font-weight: 600; color: var(--color-accent-600); }
.card__link:hover { gap: 10px; }

.feature-card { text-align: left; }

/* Blog post card (shared) */
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--color-surface-muted); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__tag { font-size: .78rem; font-weight: 600; color: var(--color-accent-600); }
.post-card__title { font-size: 1.08rem; font-weight: 700; }
.post-card__excerpt { color: var(--color-text-muted); font-size: .94rem; }
.post-card__meta { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--color-text-muted); }
.post-card__avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }

/* Steps (shared by tool pages) */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px 24px 24px 74px;
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 22px; top: 22px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--color-brand-800);
  color: #fff;
  font-weight: 700;
}
.step__title { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.step__text { color: var(--color-text-muted); font-size: .95rem; }

/* =========================================================
   TOOLS — dark deep-green feature block (homepage)
   ========================================================= */
.tools { background: var(--color-brand-900); color: var(--color-text-invert); }
.tools .section-title { color: #fff; }
.tools__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 22px); }
.tool-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
  display: flex; flex-direction: column;
}
.tool-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.07); border-color: rgba(74,222,128,.4); }
.tool-card__icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(22,163,74,.18);
  color: var(--color-accent-300);
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.tool-card__title { font-size: 1.08rem; font-weight: 700; color: #fff; }
.tool-card__text { margin-top: 9px; color: var(--color-text-invert-muted); font-size: .94rem; flex: 1; }
.tool-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: .9rem; color: var(--color-accent-300); }
.tool-card__link:hover { gap: 10px; }

/* =========================================================
   TESTIMONIALS — white carousel, center card, peeking siblings
   ========================================================= */
.testimonials { background: #fff; overflow: hidden; }
.testimonials__carousel {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
}
.testimonials__viewport { overflow: hidden; }
.testimonials__track {
  display: flex;
  align-items: stretch;
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
}
.testimonials__slide {
  flex: 0 0 100%;
  padding-inline: clamp(8px, 3vw, 26px);
  box-sizing: border-box;
}
.tcard {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
}
.tcard__mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5rem;
  line-height: .8;
  color: var(--color-accent-soft);
  display: block;
  margin-bottom: 8px;
}
.tcard__quote {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.6;
  color: var(--color-text);
  font-weight: 500;
}
.tcard__person {
  margin-top: 26px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.tcard__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--color-surface-green); }
.tcard__name { font-weight: 700; font-size: 1rem; }
.tcard__role { font-size: .86rem; color: var(--color-text-muted); }

/* Side peek of neighbouring cards */
.testimonials__carousel { padding-inline: clamp(0px, 8vw, 90px); }

/* Arrows */
.testimonials__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  color: var(--color-text);
  font-size: 1.2rem;
  z-index: 3;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.testimonials__arrow:hover { background: var(--color-surface-green); border-color: var(--color-accent-300); color: var(--color-accent-600); }
.testimonials__arrow--prev { left: 0; }
.testimonials__arrow--next { right: 0; }

/* Dots */
.testimonials__dots {
  margin-top: 28px;
  display: flex; align-items: center; justify-content: center; gap: 9px;
}
.testimonials__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--color-border);
  transition: background var(--transition), width var(--transition);
}
.testimonials__dot.is-active { background: var(--color-accent); width: 24px; border-radius: var(--radius-pill); }

/* Legacy testimonial card (kept for compatibility) */
.testimonial-card { display: flex; flex-direction: column; gap: 16px; }
.testimonial-card__quote { font-size: 1rem; color: var(--color-text); }
.testimonial-card__person { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial-card__name { font-weight: 700; font-size: .96rem; }
.testimonial-card__role { font-size: .84rem; color: var(--color-text-muted); }

/* =========================================================
   REASONS — why choose, white, 2x3 = 6 reasons
   ========================================================= */
.reasons__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 48px) clamp(32px, 5vw, 64px); }
.reason { display: flex; flex-direction: column; }
.reason__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--color-accent-soft);
  color: var(--color-accent-600);
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.reason__title { font-size: 1.08rem; font-weight: 700; margin-bottom: 6px; }
.reason__text { color: var(--color-text-muted); font-size: .95rem; }

/* =========================================================
   PRICING — dark deep-green, 3 cards, recommended highlight
   ========================================================= */
.pricing { background: var(--color-brand-900); color: var(--color-text-invert); }
.pricing .section-title { color: #fff; }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 22px);
  align-items: stretch;
}
.price-card {
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex; flex-direction: column;
}
.price-card--featured {
  background: rgba(255,255,255,.07);
  border-color: var(--color-accent-300);
  box-shadow: 0 20px 50px rgba(22,163,74,.18);
}
.price-card__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-size: .74rem; font-weight: 700; letter-spacing: .04em;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}
.price-card__name { font-size: 1rem; font-weight: 600; color: var(--color-text-invert-muted); }
.price-card__price { margin-top: 14px; display: flex; align-items: baseline; gap: 6px; }
.price-card__amount { font-size: 2.4rem; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.price-card__period { font-size: .9rem; color: var(--color-text-invert-muted); }
.price-card__desc { margin-top: 10px; color: var(--color-text-invert-muted); font-size: .92rem; min-height: 2.6em; }
.price-card__divider { height: 1px; background: rgba(255,255,255,.12); border: 0; margin-block: 22px; }
.price-card__features { display: grid; gap: 12px; margin-bottom: 26px; flex: 1; }
.price-card__features li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--color-text-invert-muted); }
.price-card__features li::before {
  content: "✓";
  color: var(--color-accent-300);
  font-weight: 700;
  flex: none;
}
.price-card .btn { width: 100%; }
.price-card__cta--featured { background: var(--color-accent-300); color: var(--color-brand-900); }
.price-card__cta--featured:hover { background: #6ee79a; }

/* Service guarantees row under pricing */
.guarantees {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid rgba(255,255,255,.1);
}
.guarantee { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.guarantee__icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(22,163,74,.18);
  color: var(--color-accent-300);
  font-size: 1.1rem;
}
.guarantee__title { font-weight: 700; font-size: .96rem; color: #fff; }
.guarantee__text { font-size: .84rem; color: var(--color-text-invert-muted); }

/* =========================================================
   FAQ — white, slim rows, hairline dividers
   ========================================================= */
.faq { max-width: var(--container-narrow); margin-inline: auto; display: grid; gap: 0; }
.faq__item {
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  overflow: hidden;
}
.faq__item:first-child { border-top: 1px solid var(--color-border); }
.faq__question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 6px;
  text-align: left;
  font-weight: 600;
  font-size: .98rem;
  color: var(--color-text);
}
.faq__icon { flex: none; transition: transform var(--transition); color: var(--color-accent-600); font-size: 1.2rem; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq__answer-inner { padding: 0 6px 20px; color: var(--color-text-muted); font-size: .95rem; }

/* =========================================================
   ARTICLES — clean white cards, thin border, faded thumb
   ========================================================= */
.articles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 24px); }
.article-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d6e0da; }
.article-card__tag {
  align-self: flex-start;
  font-size: .76rem; font-weight: 600;
  color: var(--color-accent-600);
  background: var(--color-accent-soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.article-card__title { font-size: 1.06rem; font-weight: 700; color: var(--color-text); }
.article-card__excerpt { margin-top: 9px; color: var(--color-text-muted); font-size: .93rem; flex: 1; }
.article-card__meta {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--color-border-soft);
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem; color: var(--color-text-muted);
}
.articles__more { margin-top: clamp(32px, 5vw, 48px); text-align: center; }
.articles__more-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: .95rem;
  color: var(--color-accent-600);
}
.articles__more-link:hover { gap: 11px; }

/* =========================================================
   CTA — split card: dark copy left, woman photo right
   ========================================================= */
.cta-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  background: var(--color-brand-800);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-split__body {
  padding: clamp(36px, 5vw, 64px);
  color: #fff;
  display: flex; flex-direction: column; justify-content: center;
}
.cta-split__title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -.02em; }
.cta-split__text { margin-top: 14px; color: var(--color-text-invert-muted); max-width: 440px; }
.cta-split__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.cta-split__note { margin-top: 18px; font-size: .84rem; color: var(--color-text-invert-muted); display: flex; flex-wrap: wrap; gap: 16px; }
.cta-split__note span { display: inline-flex; align-items: center; gap: 6px; }
.cta-split__media { position: relative; min-height: 320px; }
.cta-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* Legacy CTA (kept for compatibility on other pages) */
.cta {
  background: linear-gradient(135deg, var(--color-brand-800), var(--color-brand-700));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 80% at 50% 120%, rgba(22,163,74,.3), transparent 70%);
}
.cta > * { position: relative; z-index: 1; }
.cta__title { font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 700; }
.cta__text { margin-top: 14px; color: var(--color-text-invert-muted); max-width: 540px; margin-inline: auto; }
.cta__actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* --------------------------- Article (shared) -------------------- */
.article { max-width: var(--container-narrow); margin-inline: auto; }
.article__cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 36px; box-shadow: var(--shadow); }
.article__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: .9rem; color: var(--color-text-muted); }
.article__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.prose { font-size: 1.04rem; color: #2b352f; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: 1.55rem; margin-top: 1.8em; padding-top: .2em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5em; }
.prose p { color: #3a463f; }
.prose a { color: var(--color-accent-600); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-top: .5em; }
.prose blockquote {
  border-left: 4px solid var(--color-accent);
  background: var(--color-surface-green);
  padding: 16px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--color-text);
}
.prose img { border-radius: var(--radius); margin-block: 1.6em; }
.prose code {
  background: var(--color-surface-muted);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: .9em;
}
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--color-border); padding: 11px 14px; text-align: left; }
.prose th { background: var(--color-surface-green); font-weight: 700; }

/* Definition / info list (shared) */
.info-list { display: grid; gap: 10px; }
.info-list__row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 15px 18px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.info-list__row dt { color: var(--color-text-muted); }
.info-list__row dd { font-weight: 700; }

/* Rate / pricing table rows (shared) */
.rate-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.rate-row:hover { border-color: var(--color-accent-300); box-shadow: var(--shadow-sm); }
.rate-row__name { font-weight: 700; }
.rate-row__range { color: var(--color-accent-600); font-weight: 700; }

/* ----------------------------- Footer ---------------------------- */
.footer {
  background: var(--color-brand-900);
  color: var(--color-text-invert-muted);
  padding-block: clamp(44px, 5vw, 64px) 28px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(28px, 4vw, 48px);
}
.footer__brand { max-width: 300px; }
.footer__brand .navbar__brand { color: #fff; }
.footer__brand .navbar__brand-sub { color: var(--color-text-invert-muted); }
.footer__tagline { margin-top: 14px; font-size: .9rem; line-height: 1.7; }
.footer__col-title {
  color: #fff; font-weight: 600; font-size: .9rem; margin-bottom: 14px;
  letter-spacing: .02em;
}
.footer__links { display: grid; gap: 9px; }
.footer__links a { font-size: .88rem; transition: color var(--transition); }
.footer__links a:hover { color: var(--color-accent-300); }
.footer__bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between;
  font-size: .82rem;
}
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--color-accent-300); }

/* --------------------------- Utilities --------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.muted { color: var(--color-text-muted); }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--radius-pill);
  background: var(--color-accent-soft); color: var(--color-accent-600);
  font-size: .8rem; font-weight: 600;
}
.stack-sm > * + * { margin-top: 8px; }
.divider { height: 1px; background: var(--color-border); border: 0; margin-block: 40px; }

/* --------------------------- Responsive -------------------------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .hero__content { max-width: 640px; }
  .hero__actions, .hero__meta { justify-content: center; }
  .hero__media { max-width: 560px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .tools__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .price-card--featured { order: -1; }
  .articles__grid { grid-template-columns: repeat(2, 1fr); }
  .cta-split { grid-template-columns: 1fr; }
  .cta-split__media { min-height: 280px; order: -1; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .navbar__toggle { display: flex; }
  .navbar__menu {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    padding: 12px;
    margin: 0;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }
  .navbar.is-open .navbar__menu { transform: translateY(0); opacity: 1; visibility: visible; }
  .navbar__link { padding: 12px 14px; border-radius: var(--radius-sm); }
  .navbar__link--mobile-only { display: block; }
  .navbar__dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none;
    padding: 4px 4px 4px 16px;
    display: none;
  }
  .has-dropdown.is-open .navbar__dropdown { display: block; }
  .navbar__caret { margin-left: auto; }
  .has-dropdown > .navbar__link { display: flex; align-items: center; }
  .navbar__login { display: none; }
  .reasons__grid { grid-template-columns: 1fr; }
  .testimonials__carousel { padding-inline: 0; }
  .testimonials__arrow { width: 38px; height: 38px; }
  .testimonials__arrow--prev { left: -4px; }
  .testimonials__arrow--next { right: -4px; }
}

@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .tools__grid { grid-template-columns: 1fr; }
  .articles__grid { grid-template-columns: 1fr; }
  .guarantees { grid-template-columns: 1fr; gap: 24px; }
  .rate-row { grid-template-columns: 1fr; gap: 8px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .info-list__row { flex-direction: column; gap: 4px; }
  .btn--block-sm { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
