/* =====================================================================
   Pixel Forge — Business Home Page
   Design source: Figma hXUEkfFvYVBLM41Hzj740K (node 5047-4925)
   Scaffold mirrors Pixel Forge v1 (see 06_Design_Style.md, renovation/)
   ===================================================================== */

:root {
  /* Brand — WhatsApp-leaning green, matches Figma fill_LHAB2B */
  --brand: #41c460;
  --brand-hover: #39ae55;
  --brand-on: #ffffff;
  --brand-soft: rgba(65, 196, 96, 0.12);
  --brand-dark: #2a8c43;
  --accent: #5ab542;

  /* Surfaces */
  --bg: #ffffff;
  --bg-raised: #ffffff;
  --bg-muted: #f5f5f5;
  --bg-sunken: #f5f6fa;
  --bg-inverse: #12131a;
  --bg-hero: #0f1720;

  /* Text */
  --text-strong: rgba(0, 6, 38, 0.9);
  --text-body: rgba(0, 9, 51, 0.75);
  --text-weak: rgba(0, 9, 51, 0.65);
  --text-heading: #1c1b1b;
  --text-inverse-strong: #ffffff;
  --text-inverse-weak: rgba(255, 255, 255, 0.78);

  /* Stroke */
  --stroke-weak: rgba(0, 17, 102, 0.1);

  /* Radius / shadow */
  --radius-card: 24px;
  --radius-pill: 360px;
  --shadow-raised: 0 4px 8px -2px rgba(0, 0, 0, 0.04),
    0 2px 4px -2px rgba(0, 0, 0, 0.08);
  --shadow-float: 0 20px 40px -18px rgba(12, 42, 21, 0.35),
    0 8px 18px -10px rgba(12, 42, 21, 0.2);

  /* Layout */
  --max-content: 1084px;
  --top-nav-h: 72px;
  --bottom-nav-h: 72px;

  /* Type */
  --font-sans: "Noto Sans TC", system-ui, -apple-system, "PingFang TC",
    "Microsoft JhengHei", sans-serif;
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--top-nav-h) + 16px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-strong);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  max-width: 100%;
  display: block;
}
img {
  height: auto;
}
h1,
h2,
h3,
h4,
p,
ul {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid #4d90fe;
  outline-offset: 2px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- a11y skip link ---------- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  background: var(--brand);
  color: var(--brand-on);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 1000;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

/* =====================================================================
   Buttons — green pill (primary), small pill (sm), inverse pill
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--brand);
  color: var(--brand-on);
  font-family: inherit;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-raised);
  transition: background-color 0.15s ease, transform 0.08s ease;
}
.btn:hover {
  background: var(--brand-hover);
}
.btn:active {
  transform: translateY(1px);
}
.btn--sm {
  height: 32px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}
.btn--inverse {
  background: #ffffff;
  color: var(--text-strong);
}
.btn--inverse:hover {
  background: #f0f0f0;
}
.btn--ghost {
  background: transparent;
  color: var(--text-strong);
  border: 1px solid var(--stroke-weak);
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--bg-sunken);
}
.icon {
  width: 24px;
  height: 24px;
  flex: none;
}
.icon--sm {
  width: 16px;
  height: 16px;
}

/* =====================================================================
   Top nav (sticky on both breakpoints)
   ===================================================================== */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--top-nav-h);
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--stroke-weak);
}
.top-nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-strong);
}
.top-nav__logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}
.top-nav__logo-text {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
}
.top-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  height: var(--top-nav-h);
}
.nav-link {
  padding: 0 14px;
  height: var(--top-nav-h);
  display: inline-flex;
  align-items: center;
  color: var(--text-strong);
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-link:hover {
  color: #000;
}
.nav-link.is-active {
  border-bottom-color: var(--brand);
  font-weight: 600;
}
.top-nav__cta {
  flex: none;
}

/* =====================================================================
   Hero — dark gradient card, decorative circle cluster, floating stats
   ===================================================================== */
.hero {
  padding: 16px;
}
.hero__card {
  position: relative;
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #000000 0%, #666666 100%), #0d1c11;
  color: #fff;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 6vw, 80px)
    clamp(120px, 18vw, 160px);
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  box-shadow: var(--shadow-raised);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero__title {
  font-size: clamp(32px, 6vw, 72px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  margin-bottom: 20px;
}
.hero__title span {
  display: block;
}
.hero__rule {
  display: block;
  width: 120px;
  height: 12px;
  background: var(--brand);
  border-radius: 4px;
  margin: 16px 0 24px;
}
.hero__sub {
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.hero__sub span {
  display: block;
}

/* Decorative circle cluster — desktop only, visually anchors top-right */
.hero__cluster {
  position: absolute;
  right: -60px;
  top: -60px;
  width: 640px;
  height: 720px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.95;
}
.hero__cluster span {
  position: absolute;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 24px 12px rgba(255, 255, 255, 0.08);
  background-size: cover;
  background-position: center;
}
.hero__cluster .c1 {
  top: 80px;
  left: 0;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 30% 30%, #7ed9a0, #2c7c46);
}
.hero__cluster .c2 {
  top: 0;
  left: 300px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle at 30% 30%, #b8e2c5, #41c460);
}
.hero__cluster .c3 {
  top: 300px;
  left: 160px;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle at 30% 30%, #a4e8b6, #2a8c43);
}
.hero__cluster .c4 {
  top: 560px;
  left: 220px;
  width: 210px;
  height: 210px;
  background: radial-gradient(circle at 30% 30%, #d8f5df, #5ab542);
}
.hero__cluster .c5 {
  top: 420px;
  left: 420px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle at 30% 30%, #9adeab, #41c460);
}
.hero__cluster .c6 {
  top: 180px;
  left: 480px;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle at 30% 30%, #c6ead0, #2a8c43);
}

/* Hero floating highlight — 3 stats in a green card glued bottom-right */
.hero-floating {
  position: absolute;
  right: 32px;
  bottom: 32px;
  z-index: 3;
  display: flex;
  gap: 40px;
  align-items: stretch;
  padding: 32px 40px;
  background: var(--brand);
  color: var(--brand-on);
  border-radius: var(--radius-card) 0 var(--radius-card) 0;
  box-shadow: var(--shadow-float);
  max-width: calc(100% - 32px);
}
.hero-floating__item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-floating__value {
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
}
.hero-floating__label {
  font-size: 18px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.9);
}

/* =====================================================================
   Generic section
   ===================================================================== */
.section {
  padding: 80px 24px;
}
.section--sunken {
  background: var(--bg-sunken);
}
.section__inner {
  max-width: var(--max-content);
  margin: 0 auto;
}
.section__header {
  max-width: var(--max-content);
  margin: 0 auto 40px;
  text-align: center;
}
.section__header--left {
  text-align: left;
}
.section__header--split {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  text-align: left;
}
.section__eyebrow {
  color: var(--text-weak);
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
  margin-bottom: 4px;
}
.section__title {
  color: var(--text-heading);
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.3;
  font-weight: 700;
}
.section__title--pad {
  margin-bottom: 16px;
}
.section__quote {
  display: flex;
  gap: 16px;
  align-items: stretch;
  margin-top: 16px;
}
.section__quote::before {
  content: "";
  flex: none;
  width: 4px;
  background: var(--accent);
  border-radius: 2px;
}
.section__quote p {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.5;
  font-weight: 600;
  color: var(--text-strong);
}

/* =====================================================================
   Info cards — shared shape used by pain points, behavior, features
   ===================================================================== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: var(--max-content);
  margin: 0 auto;
}
.info-card {
  background: var(--bg-muted);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.info-card--bright {
  background: var(--bg-raised);
  border: 1px solid var(--stroke-weak);
  box-shadow: var(--shadow-raised);
}
.info-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  margin-bottom: 4px;
}
.info-card__icon svg {
  width: 24px;
  height: 24px;
}
.info-card__title {
  font-size: 22px;
  line-height: 32px;
  font-weight: 700;
  color: var(--text-strong);
}
.info-card__desc {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-body);
}

/* =====================================================================
   Tip callout — green-tinted bar with icon, heading, body, side image
   ===================================================================== */
.tip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: var(--brand-soft);
  border-radius: var(--radius-card);
  max-width: var(--max-content);
  margin: 40px auto 0;
}
.tip__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tip__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand-dark);
  text-transform: uppercase;
}
.tip__eyebrow svg {
  width: 16px;
  height: 16px;
}
.tip__text {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-body);
}
.tip__text strong {
  color: var(--text-strong);
}
.tip__figure {
  flex: none;
  width: 120px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.tip__figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* =====================================================================
   Behavior flow — 3 steps linked by arrow
   ===================================================================== */
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
  max-width: var(--max-content);
  margin: 0 auto;
}
.flow__step {
  background: var(--bg-muted);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.flow__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
}
.flow__arrow svg {
  width: 32px;
  height: 32px;
}

/* =====================================================================
   Solution — header with CTA, 3 feature cards, hero-style artwork above
   ===================================================================== */
.solution-hero {
  max-width: var(--max-content);
  margin: 0 auto 40px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #eef3f8;
}
.solution-hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* =====================================================================
   Pricing — 3 tier cards + auxiliary rows (domain + maintenance)
   ===================================================================== */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: var(--max-content);
  margin: 0 auto;
}
.pricing-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--stroke-weak);
  border-radius: var(--radius-card);
  background: #ffffff;
  overflow: hidden;
}
.pricing-card--featured {
  border: 2px solid var(--brand);
  box-shadow: var(--shadow-raised);
  transform: translateY(-4px);
}
.pricing-card__ribbon {
  background: var(--brand);
  color: var(--brand-on);
  text-align: center;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.pricing-card__head {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  border-bottom: 1px solid var(--stroke-weak);
}
.pricing-card__tier {
  font-size: 22px;
  line-height: 32px;
  font-weight: 700;
  color: var(--text-strong);
}
.pricing-card__price {
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
  color: var(--text-strong);
}
.pricing-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pricing-card__chip {
  background: var(--bg-muted);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-body);
}
.pricing-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.pricing-card__body-head {
  font-size: 14px;
  line-height: 22px;
  font-weight: 700;
  color: var(--text-weak);
}
.pricing-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 22px;
  color: #000;
}
.pricing-feature__check {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  background: var(--brand);
  color: var(--brand-on);
  margin-top: 1px;
}
.pricing-feature__check svg {
  width: 14px;
  height: 14px;
}

/* Auxiliary info cards under pricing (網域優惠 / 維護) */
.pricing-extras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: var(--max-content);
  margin: 24px auto 0;
}
.extra-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--stroke-weak);
  border-radius: var(--radius-card);
  align-items: flex-start;
}
.extra-card__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.extra-card__icon svg {
  width: 24px;
  height: 24px;
}
.extra-card__title {
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 4px;
}
.extra-card__text {
  font-size: 15px;
  line-height: 22px;
  color: var(--text-body);
}
.extra-card__fine {
  font-size: 13px;
  line-height: 20px;
  color: var(--text-weak);
  margin-top: 6px;
}

/* =====================================================================
   Process timeline — tip card above, 4-step horizontal timeline
   ===================================================================== */
.process-tip {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 24px;
  background: var(--brand-soft);
  border-radius: var(--radius-card);
  max-width: var(--max-content);
  margin: 0 auto 40px;
}
.process-tip__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--brand);
  color: var(--brand-on);
}
.process-tip__icon svg {
  width: 28px;
  height: 28px;
}
.process-tip__title {
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  color: var(--text-strong);
}
.process-tip__body {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-body);
}
.timeline {
  max-width: var(--max-content);
  margin: 0 auto;
  position: relative;
}
.timeline__rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  position: relative;
  padding-top: 40px;
}
.timeline__rail::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 20px;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--brand-dark) 0 8px,
    transparent 8px 14px
  );
}
.timeline__step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  padding: 0 8px;
  position: relative;
}
.timeline__dot {
  position: absolute;
  top: -34px;
  left: 8px;
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(65, 196, 96, 0.2);
}
.timeline__day {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-dark);
  letter-spacing: 0.05em;
}
.timeline__title {
  font-size: 22px;
  line-height: 32px;
  font-weight: 700;
  color: var(--text-strong);
}
.timeline__body {
  font-size: 15px;
  line-height: 22px;
  color: var(--text-body);
}

/* =====================================================================
   About — centered prose block with eyebrow & title
   ===================================================================== */
.about {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}
.about__prose {
  font-size: 16px;
  line-height: 28px;
  color: var(--text-body);
  white-space: pre-wrap;
}
.about__signoff {
  margin-top: 24px;
  font-size: 22px;
  line-height: 32px;
  font-weight: 700;
  color: var(--text-strong);
  text-align: center;
}

/* =====================================================================
   Contact — simple row + WhatsApp CTA
   ===================================================================== */
.contact {
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
}
.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.contact__row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--stroke-weak);
  border-radius: var(--radius-card);
}
.contact__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.contact__icon svg {
  width: 22px;
  height: 22px;
}
.contact__label {
  font-size: 13px;
  color: var(--text-weak);
  line-height: 18px;
}
.contact__value {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-strong);
  font-weight: 600;
}
.contact__cta {
  align-self: center;
}

/* =====================================================================
   Footer (dark)
   ===================================================================== */
.footer {
  background: var(--bg-inverse);
  color: var(--text-inverse-strong);
  padding: 64px 24px 40px;
}
.footer__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 40px;
  align-items: start;
}
.footer__brand {
  font-size: 22px;
  line-height: 32px;
  font-weight: 700;
}
.footer__tagline {
  margin-top: 8px;
  font-size: 15px;
  line-height: 22px;
  color: var(--text-inverse-weak);
  white-space: pre-line;
}
.footer__heading {
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}
.footer__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-inverse-weak);
}
.footer__list li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 15px;
  line-height: 22px;
}
.footer__list a {
  color: var(--text-inverse-weak);
  transition: color 0.15s ease;
}
.footer__list a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer__copy {
  grid-column: 1 / -1;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-inverse-weak);
  font-size: 14px;
  line-height: 22px;
}

/* =====================================================================
   Bottom nav (mobile only) + FAB (mobile only)
   ===================================================================== */
.bottom-nav {
  display: none;
}
.bottom-nav__item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  height: 100%;
  color: var(--text-weak);
  font-size: 12px;
  line-height: 1.4;
  padding: 10px 4px 8px;
  transition: color 0.15s ease;
}
.bottom-nav__icon {
  width: 22px;
  height: 22px;
}
.bottom-nav__item.is-active {
  color: var(--text-strong);
}
.bottom-nav__item.is-active .bottom-nav__icon {
  color: var(--brand-dark);
}
.wa-fab {
  display: none;
}

/* =====================================================================
   MOBILE — ≤ 768px
   ===================================================================== */
@media (max-width: 768px) {
  html {
    scroll-padding-top: calc(var(--top-nav-h) + 12px);
    scroll-padding-bottom: calc(var(--bottom-nav-h) + 12px);
  }
  body {
    padding-bottom: var(--bottom-nav-h);
  }

  /* top nav */
  .top-nav {
    padding: 6px 12px;
  }
  .top-nav__logo img {
    width: 32px;
    height: 32px;
  }
  .top-nav__logo-text {
    font-size: 15px;
  }
  .top-nav__links {
    display: none;
  }
  .top-nav__cta {
    height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }
  .top-nav__cta .icon {
    width: 16px;
    height: 16px;
  }

  /* hero */
  .hero {
    padding: 12px;
  }
  .hero__card {
    padding: 40px 20px 180px;
    min-height: 560px;
  }
  .hero__title {
    font-size: 30px;
    line-height: 42px;
  }
  .hero__rule {
    width: 80px;
    height: 8px;
    margin: 12px 0 16px;
  }
  .hero__sub {
    font-size: 15px;
    line-height: 22px;
  }
  .hero__cluster {
    display: none;
  }
  .hero-floating {
    right: 12px;
    left: 12px;
    bottom: 12px;
    padding: 20px 16px;
    gap: 8px;
    max-width: none;
    justify-content: space-between;
    border-radius: var(--radius-card);
  }
  .hero-floating__value {
    font-size: 22px;
  }
  .hero-floating__label {
    font-size: 12px;
    line-height: 18px;
  }

  /* sections */
  .section {
    padding: 48px 16px;
  }
  .section__header {
    margin-bottom: 24px;
  }
  .section__eyebrow {
    font-size: 16px;
    line-height: 24px;
  }
  .section__title {
    font-size: 22px;
    line-height: 32px;
  }
  .section__header--split {
    gap: 16px;
  }

  /* info grid → stacked */
  .info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .info-card {
    padding: 24px 20px;
  }

  /* tip → stacked */
  .tip {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
    margin-top: 24px;
  }
  .tip__figure {
    width: 100px;
  }

  /* flow → vertical stack with down arrows */
  .flow {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .flow__arrow {
    justify-content: center;
    transform: rotate(90deg);
  }

  /* solution artwork */
  .solution-hero {
    margin-bottom: 24px;
  }

  /* pricing → stacked, keep featured card as-is */
  .pricing {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pricing-card--featured {
    transform: none;
  }
  .pricing-extras {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .extra-card {
    gap: 16px;
    padding: 20px;
  }

  /* process timeline → vertical list */
  .process-tip {
    padding: 20px;
    gap: 16px;
  }
  .timeline__rail {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 0;
    padding-left: 32px;
  }
  .timeline__rail::before {
    top: 0;
    bottom: 0;
    height: auto;
    left: 10px;
    right: auto;
    width: 2px;
    background: repeating-linear-gradient(
      to bottom,
      var(--brand-dark) 0 8px,
      transparent 8px 14px
    );
  }
  .timeline__step {
    padding: 0;
  }
  .timeline__dot {
    top: 6px;
    left: -28px;
    width: 16px;
    height: 16px;
  }
  .timeline__title {
    font-size: 20px;
    line-height: 28px;
  }

  /* contact */
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* footer */
  .footer {
    padding: 48px 16px 24px;
  }
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Bottom nav visible on mobile */
  .bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    display: flex;
    height: var(--bottom-nav-h);
    background: var(--bg);
    border-top: 1px solid var(--stroke-weak);
    padding-bottom: env(safe-area-inset-bottom, 0);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04);
  }
  .wa-fab {
    position: fixed;
    right: 16px;
    bottom: calc(var(--bottom-nav-h) + 16px + env(safe-area-inset-bottom, 0));
    z-index: 98;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    background: #25d366;
    color: #fff;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
    transition: transform 0.15s ease;
  }
  .wa-fab:hover {
    transform: scale(1.05);
  }
  .wa-fab svg {
    width: 28px;
    height: 28px;
  }
}

/* Small phones: tighten further */
@media (max-width: 380px) {
  .bottom-nav__item span {
    font-size: 11px;
  }
  .hero-floating__value {
    font-size: 20px;
  }
  .hero-floating__label {
    font-size: 11px;
  }
  .hero__title {
    font-size: 26px;
    line-height: 38px;
  }
}

/* =====================================================================
   Desktop narrow (769–1100) — breathing room, 2-up pricing
   ===================================================================== */
@media (min-width: 769px) and (max-width: 1100px) {
  .section,
  .footer {
    padding-left: 48px;
    padding-right: 48px;
  }
  .pricing {
    grid-template-columns: 1fr;
  }
  .pricing-card--featured {
    transform: none;
  }
  .pricing-extras {
    grid-template-columns: 1fr;
  }
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
  .info-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .flow {
    grid-template-columns: 1fr;
  }
  .flow__arrow {
    transform: rotate(90deg);
    justify-content: center;
  }
}
