/* ===== Publifai marketing site ===== */

:root {
  /* Warm palette */
  --bg: #FBF7EE;
  --bg-soft: #F5EFE0;
  --bg-card: #FFFCF5;
  --bg-card-strong: #FFFFFF;

  /* Greens */
  --green-deep: #1B5A47;
  --green-deeper: #103E30;
  --green-soft: #E5EFE9;
  --green-tint: #D7E7DE;
  --green-whatsapp: #25D366;
  --green-whatsapp-hover: #1FBA59;

  /* Ink + text */
  --ink: #142019;
  --ink-2: #2C3A33;
  --ink-mute: #5C6962;
  --ink-faint: #8A9590;

  /* Lines */
  --line: #E5DCC6;
  --line-strong: #D4C8AC;

  /* Accent (use sparingly) */
  --mustard: #C6912E;
  --mustard-soft: #F0D996;

  /* Type */
  --display: "Instrument Serif", "Newsreader", Georgia, serif;
  --sans: "Geist", "Inter Tight", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  /* Rhythm */
  --pad-x: clamp(20px, 5vw, 56px);
  --section-y: clamp(64px, 9vw, 128px);
  --radius: 14px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
}

/* Subtle paper texture via radial noise */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(27,90,71,0.06), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(198,145,46,0.05), transparent 65%);
  z-index: 0;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--green-deeper);
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(48px, 8vw, 104px); letter-spacing: -0.025em; }
h2 { font-size: clamp(36px, 5.4vw, 68px); letter-spacing: -0.02em; }
h3 { font-size: clamp(24px, 2.8vw, 32px); letter-spacing: -0.01em; }
.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.italic { font-style: italic; }

p { margin: 0; }
.lede {
  font-family: var(--sans);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
  text-wrap: pretty;
}

.rupee { font-variant-numeric: tabular-nums; }

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

.shell {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

section {
  position: relative;
  padding: var(--section-y) 0;
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(251, 247, 238, 0.78);
  border-bottom: 1px solid rgba(229, 220, 198, 0.6);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand {
  color: var(--green-deeper);
}
.brand .ai {
  /* Subtle tonal lift — same hue, just a few steps lighter */
  color: #2C5A48;
  font-weight: 700;
}
.nav-links {
  display: none;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav-links a:hover { color: var(--green-deep); }
@media (min-width: 860px) {
  .nav-links { display: inline-flex; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn-wa {
  background: var(--green-whatsapp);
  color: #07261A;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 6px 18px rgba(37, 211, 102, 0.28);
}
.btn-wa:hover { background: var(--green-whatsapp-hover); transform: translateY(-1px); }
.btn-wa .wa-glyph { width: 18px; height: 18px; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--green-deep); color: var(--green-deep); }
.btn-dark {
  background: var(--green-deeper);
  color: #F4ECDB;
}
.btn-dark:hover { background: #0a2b21; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 18px 26px; font-size: 16px; }

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

.hero {
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(40px, 7vw, 96px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.4fr 1fr; gap: 64px; }
}
.hero h1 {
  font-size: clamp(36px, 6.4vw, 78px);
  line-height: 1.05;
  letter-spacing: -0.028em;
}
.hero h1 .made { font-style: italic; color: var(--green-deep); position: relative; display: inline-block; }
.hero h1 .made::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.05em;
  height: 0.12em;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 14' fill='none'><path d='M2 9 C 40 2, 80 12, 120 6 S 200 10, 218 4' stroke='%2325D366' stroke-width='3' stroke-linecap='round' fill='none'/></svg>") center/100% 100% no-repeat;
  pointer-events: none;
}
.hero-sub {
  margin-top: 28px;
  font-size: clamp(17px, 1.65vw, 22px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 56ch;
  text-wrap: pretty;
}
.hero-sub b { font-weight: 600; color: var(--ink); }
.hero-ctas {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero-meta {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-mute);
  font-size: 14px;
}
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-whatsapp); box-shadow: 0 0 0 4px rgba(37,211,102,0.18); }

/* Price card to the right of hero */
.price-card {
  position: relative;
  background: var(--bg-card-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 28px 24px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.03), 0 30px 60px -40px rgba(16,62,48,0.25);
}
.price-card .tag {
  position: absolute;
  top: -12px; left: 24px;
  background: var(--green-deeper);
  color: var(--bg);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
}
.price-card .label {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.price-card .amount {
  font-family: var(--display);
  font-size: 56px;
  color: var(--green-deeper);
  line-height: 1;
  letter-spacing: -0.02em;
}
.price-card .amount small {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mute);
  margin-left: 6px;
  letter-spacing: 0;
}
.price-card .strike {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-faint);
  text-decoration: line-through;
}
.price-card ul {
  list-style: none;
  margin: 18px 0 0; padding: 0;
  display: grid;
  gap: 10px;
}
.price-card li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink-2);
}
.price-card li svg { flex-shrink: 0; margin-top: 4px; }
.price-card .footnote { font-size: 12px; color: var(--ink-faint); margin-top: 16px; }

/* Hero marquee proof bar */
.hero-proof {
  margin-top: 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  align-items: center;
  color: var(--ink-mute);
  font-size: 13px;
}
.hero-proof .pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  color: var(--ink-2);
  background: rgba(255,255,255,0.5);
}

/* ---------- Section header ---------- */

.section-head {
  display: grid;
  gap: 18px;
  max-width: 920px;
  margin-bottom: 56px;
}
.section-head h2 .accent {
  color: var(--green-deep);
  font-style: italic;
}

/* ---------- What we do ---------- */

.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 760px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-deep);
  box-shadow: 0 30px 50px -30px rgba(16,62,48,0.25);
}
.service-card .num {
  font-family: var(--display);
  font-style: italic;
  color: var(--green-whatsapp);
  font-size: 22px;
}
.service-card .ill {
  height: 88px;
  margin: 8px 0 18px;
  display: flex; align-items: flex-end;
  color: var(--green-deep);
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }

/* ---------- Portfolio ---------- */

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 760px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }

.site-card {
  background: var(--bg-card-strong);
  border: 1px solid #D9D0BC;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow:
    0 14px 32px rgba(16, 62, 48, 0.12),
    0 2px 6px rgba(16, 62, 48, 0.05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-card:hover {
  transform: translateY(-4px);
  border-color: #C9BE9F;
  box-shadow:
    0 26px 52px rgba(16, 62, 48, 0.18),
    0 4px 10px rgba(16, 62, 48, 0.08);
}

/* ── Window inside the card (chrome + scroll viewport) ── */
.site-window {
  padding: 10px 10px 0;
}
.browser-chrome {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  padding: 9px 12px;
  display: flex; align-items: center;
  min-height: 34px;
}
.browser-dots { display: inline-flex; gap: 6px; }
.browser-dot { width: 10px; height: 10px; border-radius: 50%; background: #E0CB95; }
.browser-dot.r { background: #E8A38B; }
.browser-dot.y { background: #E6C56A; }
.browser-dot.g { background: #A7C99B; }

.browser-url-pill {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px 4px 10px;
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.85);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  max-width: 72%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser-url-pill .lock {
  width: 10px; height: 10px;
  flex-shrink: 0;
  opacity: 0.6;
}
.browser-url-pill .browser-url {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-viewport {
  --viewport-h: clamp(340px, 38vw, 520px);
  height: var(--viewport-h);
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: #fff;
  position: relative;
}
.site-shot {
  width: 100%;
  height: auto;
  display: block;
  transform: translateY(0);
  will-change: transform;
}

/* ── Scroll animation: full-loop keyframe ── */
@keyframes siteScrollLoop {
  0%   { transform: translateY(0); }
  68%  { transform: translateY(calc(-100% + var(--viewport-h))); }
  82%  { transform: translateY(calc(-100% + var(--viewport-h))); }
  100% { transform: translateY(0); }
}

/* Gallery One: always auto-scrolls */
.card-galleryone .site-shot {
  animation: siteScrollLoop 22s ease-in-out infinite;
}

/* Cherry & Tahzeeb: static by default, scroll on hover (desktop) */
.card-cherry .site-shot,
.card-tahzeeb .site-shot {
  transition: transform 0.9s ease-out;
}
@media (hover: hover) {
  .card-cherry:hover .site-shot,
  .card-tahzeeb:hover .site-shot {
    transform: translateY(calc(-100% + var(--viewport-h)));
    transition: transform 15s linear;
  }
}

/* Mobile / touch: all three auto-scroll, staggered */
@media (hover: none) {
  .card-galleryone .site-shot { animation: siteScrollLoop 22s ease-in-out infinite; animation-delay: 0s; }
  .card-cherry .site-shot     { animation: siteScrollLoop 22s ease-in-out infinite; animation-delay: -7s; transition: none; }
  .card-tahzeeb .site-shot    { animation: siteScrollLoop 22s ease-in-out infinite; animation-delay: -14s; transition: none; }
}

/* Reduced motion: lock to top, no animation */
@media (prefers-reduced-motion: reduce) {
  .site-shot {
    animation: none !important;
    transition: none !important;
    transform: translateY(0) !important;
  }
}

.site-info { padding: 18px 18px 22px; }
.site-info .biz-kind {
  font-size: 12px;
  color: var(--green-deep);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: var(--sans);
}
.site-info p { color: var(--ink-2); font-size: 15px; margin-bottom: 14px; line-height: 1.45; }
.site-info .visit {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500;
  color: var(--green-deep);
  font-size: 14px;
  border-bottom: 1px solid var(--green-deep);
  padding-bottom: 2px;
}
.site-info .visit:hover { color: var(--green-deeper); }

/* ---------- Portfolio: featured + thumbnails ---------- */

.portfolio-feature {
  margin-bottom: 28px;
}
.site-feature {
  display: block;
}
.site-feature .site-viewport {
  --viewport-h: clamp(380px, 50vw, 620px);
}
.site-feature .site-feature-shot {
  animation: siteScrollLoop 24s ease-in-out infinite;
  transition: opacity 0.35s ease;
}
.site-feature .site-feature-shot.is-swapping {
  opacity: 0;
}
.site-feature-info {
  padding: 22px 24px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "kind kind"
    "name visit"
    "desc desc";
  gap: 4px 18px;
  align-items: end;
}
.site-feature-info .biz-kind { grid-area: kind; margin-bottom: 4px; }
.site-feature-info h3 { grid-area: name; font-size: clamp(26px, 2.6vw, 34px); margin: 0; }
.site-feature-info .visit { grid-area: visit; align-self: end; }
.site-feature-info p { grid-area: desc; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; margin-top: 8px; max-width: 60ch; }

/* Thumbnail row */
.portfolio-thumbs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 600px) {
  .portfolio-thumbs { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
.thumb {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  background: var(--bg-card);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 8px 8px 12px;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.thumb:hover {
  border-color: #C9BE9F;
  transform: translateY(-2px);
}
.thumb.active {
  border-color: var(--green-deep);
  border-width: 2px;
  padding: 6.5px 6.5px 10.5px;
  background: var(--bg-card-strong);
  box-shadow: 0 16px 32px -16px rgba(16, 62, 48, 0.28), 0 0 0 4px rgba(27, 90, 71, 0.08);
  transform: translateY(-2px);
}
.thumb.active::after {
  content: "";
  position: absolute;
  top: -8px; right: 12px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green-whatsapp);
  box-shadow: 0 0 0 4px var(--bg);
}
.thumb-frame {
  aspect-ratio: 16/10;
  background: var(--bg-soft);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid var(--line);
}
.thumb-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}
.thumb:hover .thumb-frame img { transform: scale(1.02); }
.thumb-kind {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-deep);
  padding: 0 6px;
  margin-bottom: 2px;
}
.thumb-label {
  font-family: var(--display);
  font-size: 18px;
  color: var(--green-deeper);
  padding: 0 6px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* Add-ons table group rows */
.addons tbody tr.group-row td {
  background: var(--bg-soft);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green-deep);
  padding: 14px 22px;
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  min-height: 220px;
  display: flex; flex-direction: column;
}
.step .step-num {
  font-family: var(--display);
  font-size: 56px;
  color: var(--green-deep);
  line-height: 1;
  margin-bottom: 4px;
  font-style: italic;
}
.step .step-ill {
  height: 50px;
  margin: 0 0 14px;
  color: var(--green-deep);
  display: flex; align-items: flex-end;
}
.step.step-first::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 32px; height: 4px;
  background: var(--green-whatsapp);
  border-radius: 0 0 4px 4px;
}
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.step .connector {
  display: none;
}
@media (min-width: 760px) {
  .step .connector {
    display: block;
    position: absolute;
    right: -30px;
    top: 60px;
    color: var(--green-deep);
    opacity: 0.55;
    z-index: 1;
  }
  .step:last-child .connector { display: none; }
}

/* Connector: animated stroke-draw on scroll-in */
.connector .conn-curve {
  stroke-dasharray: 110;
  stroke-dashoffset: 110;
}
.connector .conn-head {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
}
#how.in-view .connector .conn-curve {
  animation: drawConnCurve 0.6s ease-out 0.25s forwards;
}
#how.in-view .connector .conn-head {
  animation: drawConnHead 0.3s ease-out 0.75s forwards;
}
#how.in-view .step:nth-child(2) .connector .conn-curve { animation-delay: 0.55s; }
#how.in-view .step:nth-child(2) .connector .conn-head  { animation-delay: 1.05s; }
#how.in-view .step:nth-child(3) .connector .conn-curve { animation-delay: 0.85s; }
#how.in-view .step:nth-child(3) .connector .conn-head  { animation-delay: 1.35s; }
@keyframes drawConnCurve { to { stroke-dashoffset: 0; } }
@keyframes drawConnHead  { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .connector .conn-curve,
  .connector .conn-head {
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }
}

/* ---------- What you stop doing ---------- */

.stop-section {
  background: var(--green-deeper);
  color: #F5EDD8;
  padding: var(--section-y) 0;
  margin: var(--section-y) 0 0;
  border-radius: 0;
}
.stop-section h2 { color: #F5EDD8; }
.stop-section h2 .accent { color: #F5EDD8; font-style: normal; }
.stop-section .eyebrow { color: var(--green-whatsapp); }
.stop-section .lede { color: #F5EDD8; }
.stop-list {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}
@media (min-width: 760px) {
  .stop-list { grid-template-columns: 1fr 1fr; gap: 4px 56px; }
}
.stop-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px dashed rgba(240, 230, 207, 0.16);
  font-family: var(--display);
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.25;
  color: #F5EDD8;
  font-style: italic;
}
.stop-item .x {
  color: var(--green-whatsapp);
  flex-shrink: 0;
}
.stop-item:hover .x { transform: rotate(8deg); }
.stop-item .x svg { transition: transform .25s ease; }

.stop-bridge {
  margin-top: 56px;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
  color: #F5EDD8;
  max-width: 32ch;
  text-wrap: balance;
}

/* ---------- Plans ---------- */

.plans-toggle {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  font-size: 13px;
  font-weight: 500;
}
.plans-toggle button {
  border: 0;
  background: transparent;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-mute);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
}
.plans-toggle button.active {
  background: var(--green-deeper);
  color: var(--bg);
}

/* Sticky picker for mobile */
.tier-picker {
  display: none;
  position: sticky;
  top: 60px;
  z-index: 20;
  background: rgba(251,247,238,0.94);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 860px) { .tier-picker { display: block; } }
.tier-picker-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 var(--pad-x);
}
.tier-picker-scroll::-webkit-scrollbar { display: none; }
.tier-picker-scroll button {
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
}
.tier-picker-scroll button.active {
  background: var(--green-deeper);
  color: var(--bg);
  border-color: var(--green-deeper);
}

/* Comparison table */
.comparison-wrap {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.comparison {
  width: 100%;
  border-collapse: collapse;
}
.comparison th, .comparison td {
  padding: 18px 20px;
  text-align: left;
  font-size: 14.5px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.comparison thead th {
  background: var(--bg-soft);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  color: var(--green-deeper);
  border-bottom: 1px solid var(--line);
}
.comparison thead th .row-tag {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-whatsapp);
  margin-bottom: 4px;
}
.comparison thead th:first-child { background: transparent; }
.comparison tbody th {
  font-weight: 500;
  color: var(--ink-2);
  font-size: 14px;
  width: 28%;
}
.comparison .price-row td {
  font-family: var(--display);
  font-size: 22px;
  color: var(--green-deeper);
  letter-spacing: -0.01em;
}
.comparison .price-row td small {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-mute);
  font-weight: 500;
  display: block;
  letter-spacing: 0;
}
.comparison .price-row td .was {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-faint);
  text-decoration: line-through;
  display: block;
  letter-spacing: 0;
  margin-top: 2px;
}
.comparison tbody tr:last-child td,
.comparison tbody tr:last-child th { border-bottom: 0; }
.comparison .check { color: var(--green-deep); font-size: 16px; }
.comparison .dash { color: var(--ink-faint); }

/* Tablet (600–860px): keep both columns visible, tighter padding */
@media (max-width: 860px) {
  .comparison thead th,
  .comparison td { display: table-cell !important; }
  .comparison th, .comparison td { padding: 14px 14px; font-size: 13.5px; }
}

/* Phone (≤600px): stack each row as a mini-card with plan labels */
@media (max-width: 600px) {
  .comparison-wrap {
    background: transparent !important;
    border: 0 !important;
    overflow: visible !important;
  }
  .comparison thead { display: none !important; }
  .comparison,
  .comparison tbody,
  .comparison tbody tr,
  .comparison tbody th,
  .comparison tbody td { display: block !important; width: 100% !important; }
  .comparison tbody tr {
    margin-bottom: 14px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 16px;
  }
  .comparison tbody tr:last-child { margin-bottom: 0; }
  .comparison tbody th[scope="row"] {
    font-family: var(--sans);
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-deep);
    padding: 0 0 10px 0 !important;
    border: 0 !important;
    text-align: left;
  }
  .comparison tbody td {
    padding: 8px 0 !important;
    border: 0 !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: baseline;
    gap: 12px;
  }
  .comparison tbody td::before {
    flex-shrink: 0;
    min-width: 70px;
    font-family: var(--sans);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-deep);
  }
  .comparison tbody td:nth-of-type(1)::before { content: 'Starter'; }
  .comparison tbody td:nth-of-type(2)::before { content: 'Presence'; }
  .comparison .price-row td { font-size: 20px !important; }
  .comparison .price-row td small { display: inline; margin-left: 4px; }
  .comparison .price-row td .was { display: block; margin-top: 4px; }
}

/* Tier cards */
.tier-cards {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 760px) { .tier-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tier-cards { grid-template-columns: repeat(4, 1fr); } }

/* Two-card layout on the pricing page (current offering) */
.tier-cards-two { grid-template-columns: 1fr !important; gap: 22px !important; }
@media (min-width: 860px) {
  .tier-cards-two {
    grid-template-columns: 1fr 1fr !important;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
  }
}

.tier-fineprint {
  margin: 18px 0 4px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-faint);
}
.tier.featured .tier-fineprint { color: rgba(244,236,219,0.6); }

/* ============================================================
   Comparison table (Starter vs Presence) — calm, scannable
   Matches site design language: cream card, green accents,
   serif headings, single-system type, subtle zebra.
   ============================================================ */

.cmp {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 40px -28px rgba(16, 62, 48, 0.18);
}
.cmp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

/* ── Header row ── */
.cmp-table thead th {
  vertical-align: bottom;
  padding: 32px 28px 26px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.cmp-label-head {
  width: 32%;
}
.cmp-eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 10px;
}
.cmp-what {
  font-family: var(--display);
  font-size: 24px;
  color: var(--green-deeper);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.cmp-plan-head h3 {
  font-family: var(--display);
  font-size: clamp(26px, 2.6vw, 32px);
  margin: 8px 0 20px;
  color: var(--green-deeper);
  letter-spacing: -0.01em;
  font-weight: 400;
}

/* Tags */
.cmp-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  line-height: 1;
}
.cmp-tag-starter {
  background: #F1DD9C;
  color: #5B4310;
}
.cmp-tag-presence {
  background: var(--green-deep);
  color: #FFFCF5;
}

/* Price block */
.cmp-price { display: flex; flex-direction: column; gap: 4px; }
.cmp-price-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.cmp-price-row { display: flex; align-items: baseline; gap: 6px; }
.cmp-price-amt {
  font-family: var(--display);
  font-size: clamp(34px, 3.4vw, 44px);
  color: var(--green-deeper);
  line-height: 1;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.cmp-price-unit {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mute);
}
.cmp-price-was {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink-faint);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  margin-top: 2px;
}

/* ── Body rows ── */
.cmp-table tbody th,
.cmp-table tbody td {
  padding: 16px 28px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
  text-align: left;
}
.cmp-table tbody th {
  font-family: var(--sans);
  font-weight: 500;
  color: var(--ink);
}

/* Single zebra system — row-based, full-width */
.cmp-table tbody tr:nth-of-type(even) th,
.cmp-table tbody tr:nth-of-type(even) td {
  background: rgba(229, 220, 198, 0.32);
}

/* Presence column gets a barely-there tint, layered atop zebra */
.cmp-table tbody tr td:last-of-type {
  background-color: rgba(213, 232, 221, 0.20);
}
.cmp-table tbody tr:nth-of-type(even) td:last-of-type {
  background-color: rgba(213, 232, 221, 0.32);
}

/* Check + dash treatment */
.cmp-check {
  color: var(--green-deep);
  vertical-align: -3px;
  margin-right: 4px;
}
.cmp-dash {
  display: inline-block;
  color: var(--ink-faint);
  opacity: 0.55;
  font-size: 16px;
  line-height: 1;
}
.cmp-extra {
  display: block;
  margin-top: 4px;
  color: var(--ink-mute);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}
.cmp-soft {
  color: var(--ink-mute);
  font-style: italic;
  font-size: 13.5px;
}
.cmp-table b {
  font-weight: 600;
  color: var(--green-deeper);
}

.cmp-table tbody tr:last-child th,
.cmp-table tbody tr:last-child td {
  border-bottom: 0;
}

/* ── Footer CTA row ── */
.cmp-table tfoot th,
.cmp-table tfoot td {
  padding: 22px 28px 26px;
  vertical-align: top;
  border-top: 1px solid var(--line);
  background: transparent;
}
.cmp-cta {
  width: 100%;
  justify-content: center;
}
/* ── Mobile: stack into two cards ── */
@media (max-width: 760px) {
  .cmp { border-radius: 16px; }
  .cmp-table, .cmp-table thead, .cmp-table tbody, .cmp-table tfoot,
  .cmp-table tr, .cmp-table th, .cmp-table td { display: block; width: 100% !important; }
  .cmp-table colgroup { display: none; }
  .cmp-label-head { display: none !important; }

  .cmp-table thead tr { display: grid; gap: 12px; padding: 12px; }
  .cmp-plan-head {
    padding: 22px 20px 18px !important;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--bg-card);
  }
  .cmp-plan-head.cmp-plan-presence { background: rgba(213, 232, 221, 0.25); }

  .cmp-table tbody { padding: 0 12px; }
  .cmp-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--line);
  }
  .cmp-table tbody tr th {
    grid-column: 1 / -1;
    background: transparent !important;
    border: 0 !important;
    padding: 0 0 6px !important;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--green-deep);
    letter-spacing: 0.02em;
  }
  .cmp-table tbody tr td {
    padding: 10px 12px !important;
    border: 1px solid var(--line) !important;
    border-radius: 10px;
    background: var(--bg) !important;
    font-size: 14px;
  }
  .cmp-table tbody tr td::before {
    content: attr(data-cmp-plan);
    display: block;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-deep);
    margin-bottom: 6px;
  }
  .cmp-table tbody tr td:last-of-type { background: rgba(213, 232, 221, 0.32) !important; }
  .cmp-table tbody tr:nth-of-type(even) td { background: var(--bg-card) !important; }
  .cmp-table tbody tr:nth-of-type(even) td:last-of-type { background: rgba(213, 232, 221, 0.4) !important; }

  .cmp-table tfoot tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px;
  }
  .cmp-table tfoot td {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }
}

/* ============================================================
   Pricing-page section spacing: tighter, more continuous
   ============================================================ */

body:not(.home) #plans {
  padding-top: clamp(40px, 5vw, 72px) !important;
  padding-bottom: clamp(28px, 3.5vw, 56px) !important;
}
body:not(.home) #plans .section-head { margin-bottom: clamp(28px, 3vw, 44px); }
body:not(.home) #addons {
  padding-top: clamp(28px, 3vw, 56px) !important;
  padding-bottom: clamp(28px, 3vw, 56px) !important;
}
body:not(.home) #addons .section-head { margin-bottom: clamp(20px, 2.4vw, 32px); }
body:not(.home) #niptao {
  padding-top: clamp(20px, 2.4vw, 40px) !important;
  padding-bottom: clamp(20px, 2.4vw, 40px) !important;
}
body:not(.home) section:has(.final-cta) {
  padding-top: clamp(20px, 2.5vw, 40px) !important;
  padding-bottom: 0 !important;
}
body:not(.home) .final-cta { margin-bottom: clamp(40px, 4.5vw, 72px); }

/* Tier-detail cards: tighter top margin to the comparison table */
body:not(.home) #plans .tier-cards-two { margin-top: 28px !important; }
body:not(.home) #plans .section-head[style*="margin-top:80px"] {
  margin-top: clamp(40px, 4vw, 56px) !important;
  margin-bottom: 20px !important;
}

/* ads-future note pulled tighter to cards above */
.ads-future-note { margin-top: 28px !important; }

/* Comparison: subtle visual sectioning */
.cmp-section th {
  background: transparent !important;
  border-bottom: 0 !important;
  padding-top: 26px !important;
  padding-bottom: 6px !important;
  font-family: var(--sans) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--green-deep) !important;
}
.cmp-section:first-child th { padding-top: 12px !important; }

/* Quiet "Soon — an ads plan is in the works" note below the cards */
.ads-future-note {
  margin: 40px auto 0;
  max-width: 720px;
  padding: 18px 22px;
  border: 1px dashed var(--line-strong);
  background: rgba(255, 252, 245, 0.55);
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  text-align: center;
  text-wrap: pretty;
}
.ads-future-pill {
  display: inline-block;
  margin-right: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--green-tint);
  color: var(--green-deep);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: 1px;
}

/* Add-ons: two-card layout (replaces the table) */
.addons-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 720px) {
  .addons-cards { grid-template-columns: 1fr 1fr; gap: 22px; }
}
@media (min-width: 980px) {
  .addons-cards {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
    margin: 0 auto;
  }
}

/* ── Add-ons groups (For all plans / For Starter / Coming soon) ── */
.addons-group + .addons-group { margin-top: clamp(40px, 4vw, 64px); }
.addons-group-head {
  max-width: 1100px;
  margin: 0 auto 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 720px) {
  .addons-group-head {
    flex-direction: row;
    align-items: baseline;
    gap: 18px;
    margin-bottom: 26px;
  }
}
.addons-group-tag {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  line-height: 1.2;
  white-space: nowrap;
}
.addons-group-tag-all {
  background: var(--green-tint);
  color: var(--green-deeper);
}
.addons-group-tag-starter {
  background: #F1DD9C;
  color: #5B4310;
}
.addons-group-tag-soon {
  background: var(--bg-soft);
  color: var(--ink-mute);
  border: 1px dashed var(--line-strong);
}
.addons-group-head p {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  text-wrap: pretty;
}
.addons-group-head p strong {
  font-weight: 600;
  color: var(--green-deeper);
}
.addon-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.addon-card:hover {
  border-color: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -28px rgba(16,62,48,0.25);
}
.addon-card-glyph {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-deep);
}
.addon-card h3 {
  font-size: 22px;
  margin: 0;
  line-height: 1.2;
}
.addon-card-price {
  font-family: var(--display);
  font-size: 26px;
  color: var(--green-deeper);
  line-height: 1;
  letter-spacing: -0.02em;
}
.addon-card-price small {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-mute);
  margin-left: 6px;
  letter-spacing: 0;
}
.addon-card-was {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-faint);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  letter-spacing: 0;
}
.addon-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  text-wrap: pretty;
}
.addon-card p em { font-style: italic; color: var(--green-deeper); }

/* "For Starter" subtitle tag inside add-on card */
.addon-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5B4310;
  background: #F1DD9C;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 4px;
}

/* "Coming soon" card variant */
.addon-card-soon {
  border-style: dashed;
  background: rgba(255, 252, 245, 0.6);
}
.addon-card-soon:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -24px rgba(16,62,48,0.15);
}
.addon-card-soon h3 { color: var(--ink-2); }
.addon-card-soon .addon-card-glyph {
  background: var(--bg-soft);
  color: var(--ink-mute);
}
.addon-card-price-soon {
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-mute);
}
.soon-pill-card {
  align-self: flex-start;
  margin: 0 0 -2px 0;
  vertical-align: baseline;
  top: 0;
}
.addon-card-soon p { color: var(--ink-mute); }

/* Inline WhatsApp CTA on each add-on card */
.addon-card {
  display: flex;
  flex-direction: column;
}
.addon-card .addon-cta {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--green-deep);
  line-height: 1.3;
  transition: color .15s, gap .15s;
}
.addon-card .addon-cta::after {
  /* underline on the text only, not the arrow */
}
.addon-card .addon-cta svg {
  flex-shrink: 0;
  transition: transform .2s ease;
}
.addon-card .addon-cta:hover {
  color: var(--green-deeper);
  gap: 9px;
}
.addon-card .addon-cta:hover svg { transform: translateX(2px); }

/* Quieter CTA on "Coming soon" cards — italic, more muted */
.addon-card-soon .addon-cta {
  color: var(--ink-mute);
  font-style: italic;
  font-weight: 500;
}
.addon-card-soon .addon-cta:hover {
  color: var(--green-deep);
}
.tier {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px 26px;
  display: flex; flex-direction: column;
  position: relative;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.tier:hover { transform: translateY(-4px); border-color: var(--green-deep); box-shadow: 0 30px 60px -30px rgba(16,62,48,0.25); }
.tier.featured {
  background: var(--green-deeper);
  color: #F4ECDB;
  border-color: var(--green-deeper);
}
.tier.featured h3 { color: #FFFCF5; }
.tier.featured .price { color: #FFF; }
.tier.featured .was { color: rgba(255,252,245,0.5); }
.tier.featured .feat-meta { color: rgba(244,236,219,0.7); }
.tier.featured .ttl { border-color: rgba(244,236,219,0.2); }
.tier.featured ul li { color: rgba(244,236,219,0.88); }
.tier.featured ul li svg path { stroke: var(--green-whatsapp); }
.tier .ribbon {
  position: absolute;
  top: -12px; left: 22px;
  background: var(--green-whatsapp);
  color: #07261A;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.tier .ribbon.popular { background: var(--mustard); color: #2A1E04; }
.tier h3 { font-size: 28px; margin-bottom: 4px; }
.tier .feat-meta { font-size: 13px; color: var(--ink-mute); margin-bottom: 18px; }
.tier .price {
  font-family: var(--display);
  font-size: 42px;
  line-height: 1;
  color: var(--green-deeper);
  letter-spacing: -0.02em;
}
.tier .price small {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-mute);
  font-weight: 500;
  letter-spacing: 0;
}
.tier .was {
  font-size: 12px;
  color: var(--ink-faint);
  text-decoration: line-through;
  margin-top: 2px;
}
.tier .ttl {
  margin: 18px 0;
  height: 1px;
  background: var(--line);
  border: 0;
}
.tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; flex: 1; }
.tier ul li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.45;
}
.tier ul li svg { flex-shrink: 0; margin-top: 3px; }
.tier .tier-cta { margin-top: 22px; }
.tier .tier-cta .btn { width: 100%; justify-content: center; }
.tier .group-h {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green-deep);
  margin: 6px 0 4px;
}
.tier.featured .group-h { color: var(--green-whatsapp); }

/* ---------- Add-ons ---------- */

.addons {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.addons table { width: 100%; border-collapse: collapse; }
.addons th, .addons td {
  text-align: left;
  padding: 18px 22px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.addons thead th {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-deep);
  font-weight: 600;
  background: var(--bg-soft);
}
.addons tbody td:first-child { font-family: var(--display); font-size: 19px; color: var(--green-deeper); width: 40%; }
.addons tbody td:nth-child(2) { font-family: var(--sans); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.addons tbody td:nth-child(3) { color: var(--ink-mute); }
.addons tbody tr:last-child td { border-bottom: 0; }
.addons tbody tr:hover td { background: rgba(213,232,221,0.18); }

/* ---------- Niptao ---------- */

.niptao-card {
  background: linear-gradient(135deg, #FFFCF5 0%, #FAF0DD 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
@media (min-width: 760px) { .niptao-card { grid-template-columns: 2fr 1fr; gap: 48px; } }
.niptao-card .eyebrow { color: var(--mustard); }
.niptao-card h3 { font-size: clamp(28px, 3.4vw, 40px); margin: 10px 0 12px; }
.niptao-card p { color: var(--ink-2); font-size: 16px; max-width: 56ch; }
.niptao-card .price-strip {
  display: flex; flex-direction: column; gap: 14px;
  align-items: flex-start;
}
.niptao-card .price-strip .amount {
  font-family: var(--display);
  font-size: 44px;
  color: var(--green-deeper);
  line-height: 1;
}
.niptao-card .price-strip .amount small {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-mute);
  font-weight: 500;
}

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

.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 24px 0;
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 26px);
  color: var(--green-deeper);
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.faq-q:hover { color: var(--green-deep); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--green-deep);
  transition: transform .25s ease, background .2s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--green-tint); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
}
.faq-a-inner { padding: 0 0 26px; max-width: 70ch; }
.faq-item.open .faq-a { max-height: 400px; }

/* ---------- Final CTA ---------- */

.final-cta {
  background: var(--green-deeper);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 88px) clamp(28px, 5vw, 80px);
  color: #F4ECDB;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: var(--section-y);
}
.final-cta::before, .final-cta::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
}
.final-cta::before {
  background: rgba(37,211,102,0.35);
  width: 360px; height: 360px;
  top: -120px; right: -80px;
}
.final-cta::after {
  background: rgba(198,145,46,0.18);
  width: 280px; height: 280px;
  bottom: -120px; left: -60px;
}
.final-cta h2 {
  color: #FFFCF5;
  position: relative; z-index: 1;
}
.final-cta p { color: rgba(244,236,219,0.78); margin: 16px auto 28px; max-width: 50ch; position: relative; z-index: 1; }
.final-cta .btn { position: relative; z-index: 1; }

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

footer {
  padding: 32px 0 56px;
  color: var(--ink-mute);
  font-size: 13px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@media (min-width: 760px) {
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ============================================================
   Legal pages (Terms, Privacy) + Contact page
   ============================================================ */

.legal-page {
  padding: clamp(36px, 4.5vw, 72px) 0 clamp(48px, 5vw, 88px);
}
.legal-head {
  max-width: 720px;
  margin-bottom: 8px;
}
.legal-head h1 {
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 14px 0 14px;
}
.legal-meta {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.01em;
  margin: 0;
}
/* TOC as a soft cream card matching the site's card language */
.legal-toc {
  max-width: 720px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 20px 0 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
}
.legal-toc::before {
  content: "On this page";
  display: block;
  width: 100%;
  margin-bottom: 6px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.legal-toc a {
  color: var(--green-deep);
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  transition: border-color .15s;
}
.legal-toc a:hover { border-bottom-color: var(--green-deep); }

.legal-body {
  max-width: 720px;
  font-family: var(--sans);
}
.legal-body section {
  padding: 0;
  margin-bottom: 32px;
  scroll-margin-top: 88px;
}
.legal-body section:last-of-type {
  margin-bottom: 20px;
}
.legal-body h2 {
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 400;
  color: var(--green-deeper);
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  line-height: 1.15;
  scroll-margin-top: 88px;
}
.legal-body h3 {
  font-family: var(--display);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 500;
  color: var(--green-deep);
  letter-spacing: -0.01em;
  margin: 22px 0 10px;
  line-height: 1.25;
}
.legal-body p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 16px;
  text-wrap: pretty;
}
.legal-body p:last-child { margin-bottom: 0; }
.legal-body ul, .legal-body ol {
  padding-left: 24px;
  margin: 14px 0 18px;
}
.legal-body li {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.legal-body li:last-child { margin-bottom: 0; }
.legal-body a {
  color: var(--green-deep);
  border-bottom: 1px solid var(--green-deep);
}
.legal-body a:hover { color: var(--green-deeper); }
.legal-body strong { color: var(--ink); font-weight: 600; }

.legal-callout {
  margin: 20px 0 0;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 720px;
}
.legal-callout strong { color: var(--green-deeper); }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}
@media (min-width: 760px) {
  .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 32px; }
}
.contact-primary {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  position: relative;
  overflow: hidden;
}
.contact-primary::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(closest-side, rgba(37,211,102,0.18), transparent 70%);
  pointer-events: none;
}
.contact-primary h2 {
  font-size: clamp(28px, 3vw, 40px);
  color: var(--green-deeper);
  letter-spacing: -0.02em;
  margin: 12px 0 14px;
}
.contact-primary p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 22px;
  max-width: 50ch;
}
.contact-primary .btn { position: relative; z-index: 1; }
.contact-hours {
  margin-top: 22px;
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-hours .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green-whatsapp);
  box-shadow: 0 0 0 4px rgba(37,211,102,0.15);
}
.contact-secondary {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}
.contact-card .eyebrow {
  display: block;
  margin-bottom: 8px;
}
.contact-card h3 {
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--green-deeper);
}
.contact-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 10px;
}
.contact-card a {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--green-deep);
  border-bottom: 1px solid var(--green-deep);
  padding-bottom: 1px;
}
.contact-card a:hover { color: var(--green-deeper); }

/* Footer legal column */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 12.5px;
  color: var(--ink-faint);
}
.footer-legal a:hover { color: var(--green-deep); }

/* ---------- Small utility ---------- */

.muted { color: var(--ink-mute); }
.center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.flex-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hand-drawn underline */
/* ---------- Plan tiles (compact, homepage) ---------- */

.plan-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 28px;
}
@media (min-width: 600px) { .plan-tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .plan-tiles { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

.plan-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 22px 24px;
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.plan-tile:hover {
  transform: translateY(-3px);
  border-color: var(--green-deep);
  box-shadow: 0 24px 50px -28px rgba(16,62,48,0.28);
}
.plan-tile-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.plan-tile h3 {
  font-size: 28px;
  margin: 0;
  line-height: 1;
}
.plan-tile-ribbon {
  align-self: flex-start;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-deep);
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--green-tint);
}
.plan-tile-ribbon.popular {
  color: #2A1E04;
  background: var(--mustard-soft);
}
.plan-tile-price {
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
  color: var(--green-deeper);
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.plan-tile-price small {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0;
}
.plan-tile-for {
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink-2);
  margin: 2px 0 0;
}

.plan-tile-featured {
  background: var(--green-deeper);
  border-color: var(--green-deeper);
  color: #F4ECDB;
}
.plan-tile-featured:hover {
  border-color: var(--green-deeper);
  box-shadow: 0 28px 56px -24px rgba(16,62,48,0.45);
}
.plan-tile-featured h3 { color: #FFFCF5; }
.plan-tile-featured .plan-tile-price { color: #FFFCF5; }
.plan-tile-featured .plan-tile-price small { color: rgba(244,236,219,0.7); }
.plan-tile-featured .plan-tile-for { color: rgba(244,236,219,0.88); }
.plan-tile-featured .plan-tile-ribbon.popular {
  background: var(--green-whatsapp);
  color: #07261A;
}

/* Two-tile layout (current offering) */
.plan-tiles-two {
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .plan-tiles-two { grid-template-columns: 1fr 1fr; gap: 18px; }
}
@media (min-width: 1024px) {
  .plan-tiles-two {
    grid-template-columns: 1fr 1fr;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
  }
}
.plan-tile-was {
  font-size: 12px;
  color: var(--ink-faint);
  text-decoration: line-through;
  margin-top: -2px;
}
.plan-tile-starter .plan-tile-was { color: #8A7331; }

/* "Coming soon" pill (services card) */
.soon-pill {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px dashed var(--line-strong);
  color: var(--ink-mute);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
  position: relative;
  top: -4px;
}

/* Hero "Advertising coming soon" sub-line */
.hero-sub-soon {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.85em;
  color: var(--ink-mute);
  font-style: italic;
}

.plans-detail-link {
  text-align: center;
  margin-top: 6px;
}
.plans-detail-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--green-deep);
  font-size: 15px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--green-deep);
}
.plans-detail-link a:hover { color: var(--green-deeper); }

/* ---------- Add-ons summary (homepage) ---------- */

.addons-summary {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  max-width: 60ch;
}
.addons-summary-line {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}
.addons-summary-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--green-deep);
  font-size: 15px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--green-deep);
}
.addons-summary-link:hover { color: var(--green-deeper); }

/* ---------- Homepage spacing balance ---------- */
/* Pair #plans + #addons into one visual pricing block on the homepage
   (they share a logical purpose; treat them as a single section.) */
body.home #plans {
  padding-bottom: clamp(28px, 3.5vw, 48px);
}
body.home #plans .section-head {
  margin-bottom: 44px;
}
body.home #addons {
  padding-top: 0;
  padding-bottom: var(--section-y);
}
body.home #addons .addons-summary {
  border-top: 1px dashed var(--line-strong);
  padding-top: clamp(32px, 4vw, 48px);
  max-width: 64ch;
}

/* The lower half of the homepage (addons → niptao → faq → final CTA)
   doesn't need two full section pads stacked between every block —
   trim them so the closing flow stays continuous. */
body.home #addons { padding-bottom: clamp(20px, 2vw, 32px); }
body.home #niptao {
  padding-top: clamp(8px, 1.5vw, 20px);
  padding-bottom: clamp(28px, 3vw, 56px);
}
body.home #faq {
  padding-top: clamp(28px, 3vw, 56px);
  padding-bottom: clamp(40px, 4.5vw, 72px);
}
body.home section:has(.final-cta) {
  padding-top: clamp(24px, 3vw, 48px);
  padding-bottom: 0;
}
body.home .final-cta {
  margin-bottom: clamp(40px, 4.5vw, 72px);
}

/* Plans short H2 — anchor for the section, not a hero */
.plans-h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-style: normal;
  color: var(--green-deeper);
  text-wrap: balance;
}

/* Starter tile emphasis — entry point of the wedge */
.plan-tile-starter {
  background: linear-gradient(170deg, #FFF8E4 0%, #FBF3D7 100%);
  border-color: #D9C68A;
}
.plan-tile-starter .plan-tile-price {
  font-size: 44px;
  letter-spacing: -0.025em;
}
.plan-tile-starter .plan-tile-ribbon {
  background: #F1DD9C;
  color: #5B4310;
}

/* Niptao card on the homepage: quiet footer note, not a tier */
body.home .niptao-card {
  grid-template-columns: 1fr;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-soft) 100%);
  padding: clamp(14px, 2vw, 24px) clamp(18px, 2.4vw, 28px);
  gap: 0;
}
@media (min-width: 760px) {
  body.home .niptao-card { grid-template-columns: 1fr; gap: 0; }
}
body.home .niptao-card h3 {
  font-size: clamp(17px, 1.8vw, 22px);
  margin: 4px 0 8px;
}
body.home .niptao-card p {
  font-size: 14.5px;
  line-height: 1.5;
  max-width: 60ch;
}
body.home .niptao-card .niptao-inline {
  margin-top: 10px;
  color: var(--ink-2);
}
body.home .niptao-card .niptao-inline a {
  color: var(--green-deep);
  font-weight: 600;
  border-bottom: 1px solid var(--green-deep);
  padding-bottom: 1px;
  margin-left: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
body.home .niptao-card .niptao-inline a:hover {
  color: var(--green-deeper);
}

/* The compact plan tiles look better with a bit more breathing
   between tile grid and the detail-link below. */
.plan-tiles { margin-bottom: 36px; }
.plans-detail-link { margin-top: 0; }

.scribble {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 12' fill='none'><path d='M3 7 C 50 1, 100 11, 160 5 S 215 9, 217 6' stroke='%2325D366' stroke-width='2.5' stroke-linecap='round' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 100% 0.4em;
  padding-bottom: 0.1em;
}

/* ===== Tweak: display typeface ===== */
[data-display="bold"] h1,
[data-display="bold"] h2,
[data-display="bold"] h3,
[data-display="bold"] h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-variation-settings: "SOFT" 50, "WONK" 1;
  letter-spacing: -0.025em;
}
[data-display="bold"] .hero h1 .made,
[data-display="bold"] .section-head h2 .accent {
  font-style: italic;
  font-weight: 400;
}

[data-display="clean"] h1,
[data-display="clean"] h2,
[data-display="clean"] h3,
[data-display="clean"] h4 {
  font-family: "Geist", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.035em;
}
[data-display="clean"] .hero h1 .made,
[data-display="clean"] .section-head h2 .accent {
  font-style: italic;
  font-weight: 500;
}
[data-display="clean"] .price-card .amount,
[data-display="clean"] .tier .price,
[data-display="clean"] .niptao-card .price-strip .amount,
[data-display="clean"] .stop-bridge {
  font-family: "Geist", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}
[data-display="clean"] .stop-item,
[data-display="clean"] .faq-q,
[data-display="clean"] .comparison thead th,
[data-display="clean"] .step .step-num,
[data-display="clean"] .service-card .num {
  font-family: "Geist", system-ui, sans-serif;
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.015em;
}

/* ===== Tweak: section pace ===== */
[data-pace="tight"]     { --section-y: clamp(40px, 5vw, 72px); }
[data-pace="generous"]  { --section-y: clamp(96px, 13vw, 192px); }
[data-pace="tight"] .stop-list { margin-top: 36px; }
[data-pace="generous"] .stop-list { margin-top: 96px; }
[data-pace="tight"] .section-head { margin-bottom: 36px; gap: 12px; }
[data-pace="generous"] .section-head { margin-bottom: 84px; gap: 24px; }
