/* WaGroupContacts marketing site — bold color-block design system.
   Palette unchanged: teal / green / gold / ink. */
:root {
  --green: #25d366;
  --teal: #128c7e;
  --teal-deep: #0e7266;
  --ink: #0b141a;
  --muted: #667781;
  --gold: #f5b942;
  --gold-deep: #f39c12;
  --line: #d8e0e3;
  --bg: #ffffff;
  --card: #ffffff;
  --mint: #eef8f2;
  --radius: 10px;
  --shadow: 0 18px 44px rgba(11, 20, 26, 0.10);
  --grad: linear-gradient(130deg, var(--teal), var(--green));
  --maxw: 1120px;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-padding-top: 92px; } /* keep anchor targets clear of the sticky nav */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }

:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(52px, 8vw, 84px) 0; }
.section--alt { background: var(--mint); }
.section h2 { font-size: clamp(28px, 4.6vw, 44px); margin: 0 0 12px; letter-spacing: -0.035em; line-height: 1.04; font-weight: 900; }
.section .lead { color: var(--muted); font-size: 16px; max-width: 560px; margin: 0 auto 46px; font-weight: 500; }
.center { text-align: center; }

/* gold chip eyebrow — the accent motif */
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 11.5px; font-weight: 900; color: var(--ink);
  background: var(--gold); padding: 6px 12px; border-radius: 4px;
}

/* headline accent: was serif italic, now a gold marker highlight */
.accent {
  background: var(--gold); color: var(--ink);
  padding: 0 8px; border-radius: 4px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* reusable inline SVG check */
.check { width: 16px; height: 16px; flex: none; color: var(--gold); }

/* ---------- buttons: sharp, heavy ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 800; font-size: 15px; border: 2px solid transparent; border-radius: 8px;
  padding: 14px 24px; cursor: pointer; transition: transform .15s, background .15s, color .15s, border-color .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
/* light sections */
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #16242c; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-deep); }
.btn--lg { padding: 17px 30px; font-size: 16.5px; }

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

/* ---------- nav: sits on the teal block ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 140, 126, .92); -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 18px; letter-spacing: -0.01em; color: #fff; }
.brand:hover { text-decoration: none; }
.brand .logo { width: 34px; height: 34px; border-radius: 9px; background: var(--grad); display: grid; place-items: center; color: #fff; flex: none; box-shadow: 0 0 0 2px rgba(255,255,255,.35); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: rgba(255,255,255,.88); font-weight: 700; font-size: 14.5px; }
.nav-links a:hover { color: #fff; text-decoration: none; }
/* on teal, the primary button flips to white */
.nav .btn--primary, .hero .btn--primary { background: #fff; color: var(--ink); }
.nav .btn--primary:hover, .hero .btn--primary:hover { background: #f2f6f5; }
.nav .btn { padding: 11px 20px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle svg path { stroke: #fff; }

/* ---------- hero: teal color block ---------- */
.hero { background: var(--teal); color: #fff; padding: clamp(36px, 6vw, 56px) 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: end; }
.hero .eyebrow { margin-bottom: 6px; }
.hero h1 { font-size: clamp(38px, 5.8vw, 62px); line-height: 0.98; letter-spacing: -0.04em; margin: 20px 0 24px; font-weight: 900; }
/* the outlined phrase (was the gradient phrase) */
.hero h1 .grad {
  color: transparent; -webkit-text-stroke: 2px #fff;
  background: none; -webkit-background-clip: initial; background-clip: initial;
}
@supports not (-webkit-text-stroke: 2px #fff) {
  .hero h1 .grad { color: #a9f0c6; }
}
.hero h1 .accent { background: none; color: #fff; padding: 0; }
.hero p.sub { font-size: 18px; color: rgba(255,255,255,.78); margin: 0 0 30px; max-width: 500px; font-weight: 500; }
.hero p.sub b { color: #fff; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.hero .cta-note {
  color: rgba(255,255,255,.72); font-size: 12px; margin: 18px 0 0;
  font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}

/* widget mock — hangs over the ink floor */
.mock {
  color: var(--ink); /* card sits inside .hero (white text) — reset to ink */
  background: var(--card); border: 3px solid var(--ink); border-radius: 8px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
  padding: 20px; max-width: 320px; width: 100%; margin-left: auto;
  transform: translateY(38px); position: relative; z-index: 2;
}
.mock-head { display: flex; align-items: center; gap: 8px; }
.mock-head .logo { width: 26px; height: 26px; border-radius: 6px; box-shadow: none; }
.mock-head b { font-size: 14px; font-weight: 800; }
.mock-badge { margin-left: auto; font-size: 10px; font-weight: 900; letter-spacing: .5px; color: var(--ink); background: var(--gold); padding: 3px 9px; border-radius: 4px; }

.mock-project {
  margin-top: 14px; display: flex; align-items: center; gap: 8px;
  background: #f1f5f6; border-radius: 6px;
  padding: 10px; color: #35474f; font-size: 13.5px; font-weight: 700;
}
.mock-project svg { color: var(--teal); flex: none; }
.mock-project-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-chip {
  flex: none; width: 26px; height: 26px; border-radius: 6px;
  background: #fff; border: 1px solid var(--line); color: #5b6b73;
  display: grid; place-items: center; font-size: 13px; font-weight: 700; line-height: 1;
}

.mock-ring { display: grid; place-items: center; margin: 16px 0 4px; }
.mock-ring > * { grid-area: 1 / 1; }
.mock-ring svg { transform: rotate(-90deg); }
.mock-ring-label { text-align: center; }
.mock-count { font-size: 36px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.mock-sub { color: var(--muted); font-size: 12px; font-weight: 700; margin-top: 3px; }
.mock-usage { text-align: center; color: #35474f; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }

.mock-seg-label { margin-top: 18px; text-align: center; text-transform: uppercase; letter-spacing: .1em; font-size: 10px; font-weight: 900; color: var(--muted); }
.mock-seg { margin-top: 8px; display: grid; grid-template-columns: repeat(4, 1fr); background: #f1f5f6; border-radius: 6px; padding: 4px; gap: 4px; }
.mock-seg span { text-align: center; padding: 8px 0; border-radius: 4px; font-size: 13px; font-weight: 800; color: #5b6b73; }
.mock-seg span.on { background: #fff; color: var(--teal); box-shadow: 0 2px 8px rgba(11,20,26,.12); }

.mock-checkrow { margin-top: 12px; display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; color: #35474f; }
.mock-checkbox { width: 20px; height: 20px; border-radius: 4px; background: var(--grad); display: grid; place-items: center; flex: none; }
.mock-checkbox--off { background: #fff; border: 2px dashed #c3ced2; }

/* callout flips to ink, CTA goes gold */
.mock-callout { margin-top: 16px; background: var(--ink); border-radius: 6px; padding: 15px 15px 17px; text-align: center; }
.mock-callout p { margin: 0 0 12px; font-size: 13px; line-height: 1.45; font-weight: 700; color: #fff; }
.mock-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--ink); font-weight: 900; font-size: 14px;
  padding: 11px 20px; border-radius: 6px;
}

/* ---------- trust strip: the ink floor ---------- */
.strip { background: var(--ink); color: #fff; }
.strip-inner {
  display: flex; flex-wrap: wrap; gap: 14px 36px; justify-content: center;
  padding: 58px 0 30px; /* extra top room for the overhanging mock */
  font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
}
.strip-inner span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- features ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; }
.feature { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 26px; }
.feature .ic { width: 44px; height: 44px; border-radius: 8px; background: var(--mint); color: var(--teal); display: grid; place-items: center; margin-bottom: 16px; border: 2px solid var(--ink); }
.feature h3 { margin: 0 0 6px; font-size: 17px; font-weight: 800; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }
.tag-soon { display: inline-block; font-size: 10px; font-weight: 900; letter-spacing: .4px; color: var(--ink); background: var(--gold); padding: 2px 8px; border-radius: 4px; margin-left: 6px; vertical-align: middle; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; }
.step { padding: 26px; background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); }
.step .n { width: 36px; height: 36px; border-radius: 8px; background: var(--gold); color: var(--ink); font-weight: 900; display: grid; place-items: center; margin-bottom: 14px; border: 2px solid var(--ink); }
.step h3 { margin: 0 0 6px; font-size: 17px; font-weight: 800; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; text-align: left; }
.plan { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.plan.pop { border-width: 3px; box-shadow: var(--shadow); position: relative; }
.plan.pop::after {
  content: "Most popular"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 900;
  padding: 5px 12px; border-radius: 4px; border: 2px solid var(--ink); white-space: nowrap;
}
.plan .pname { font-weight: 900; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.plan .price { font-size: 38px; font-weight: 900; margin: 8px 0 2px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.plan .price small { font-size: 14px; font-weight: 700; color: var(--muted); }
.plan .yr { color: var(--muted); font-size: 13px; margin-bottom: 18px; font-weight: 600; }
.plan .save { display: inline-block; font-size: 11px; font-weight: 900; color: var(--ink); background: var(--gold); padding: 2px 8px; border-radius: 4px; margin-left: 4px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 9px; }
.plan li { font-size: 14px; padding-left: 24px; position: relative; color: #33454d; font-weight: 600; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 15px; height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5 10 17l9-10' stroke='%23128c7e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.plan .btn { margin-top: auto; }
.plans-note { color: var(--muted); font-size: 13px; margin-top: 24px; font-weight: 600; }

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--card); border: 2px solid var(--ink); border-radius: 8px; padding: 4px 18px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 14px 0; list-style: none; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-weight: 900; flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { color: var(--muted); margin: 0 0 14px; font-size: 14.5px; }

/* ---------- cta band: teal block, bookending the hero ---------- */
.band { background: var(--teal); color: #fff; border-radius: 14px; padding: clamp(32px, 5vw, 52px); text-align: center; }
.band h2 { color: #fff; }
.band h2 .accent { background: var(--gold); color: var(--ink); }
.band p { color: rgba(255,255,255,.85); max-width: 520px; margin: 0 auto 26px; font-weight: 500; }

/* ---------- footer: ink block ---------- */
.foot { background: var(--ink); color: #fff; padding: 48px 0; margin-top: clamp(52px, 8vw, 84px); }
.foot-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.foot .brand { color: #fff; }
.foot-links { display: flex; gap: 16px 28px; flex-wrap: wrap; }
.foot-links a { color: rgba(255,255,255,.82); font-size: 14px; font-weight: 600; }
.foot-links a:hover { color: #fff; }
.foot-note { color: rgba(255,255,255,.55); font-size: 13px; margin-top: 20px; max-width: 620px; }
.foot-note a { color: rgba(255,255,255,.82); }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(36px, 6vw, 56px) 24px; }
.legal h1 { font-size: clamp(30px, 5vw, 38px); letter-spacing: -0.03em; font-weight: 900; }
.legal h2 { font-size: 20px; margin-top: 34px; font-weight: 800; }
.legal p, .legal li { color: #2b3a42; font-size: 15px; }
.legal .updated { color: var(--muted); font-size: 13px; }
.legal .back { display: inline-block; margin-top: 36px; font-weight: 700; }

/* =========================================================
   Motion — page-load sequence + scroll reveals
   (everything gated behind prefers-reduced-motion)
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }
  .hero .eyebrow  { animation: rise .55s cubic-bezier(.2,.7,.3,1) both; }
  .hero h1        { animation: rise .55s cubic-bezier(.2,.7,.3,1) .08s both; }
  .hero .sub      { animation: rise .55s cubic-bezier(.2,.7,.3,1) .16s both; }
  .hero .cta-row  { animation: rise .55s cubic-bezier(.2,.7,.3,1) .24s both; }
  .hero .cta-note { animation: rise .55s cubic-bezier(.2,.7,.3,1) .32s both; }

  @keyframes rise-mock {
    from { opacity: 0; transform: translateY(52px); }
    to   { opacity: 1; transform: translateY(38px); }
  }
  .mock { animation: rise-mock .65s cubic-bezier(.2,.7,.3,1) .3s both; }

  @keyframes draw { from { stroke-dashoffset: 327; } to { stroke-dashoffset: 70; } }
  .ring-progress { animation: draw 1.3s cubic-bezier(.35,.7,.25,1) .65s both; }

  @keyframes glow {
    0%, 100% { box-shadow: 0 4px 14px rgba(243,156,18,.35); }
    50%      { box-shadow: 0 4px 22px rgba(243,156,18,.6); }
  }
  .mock-cta { animation: glow 2.6s ease-in-out 2s infinite; }

  .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s cubic-bezier(.2,.7,.3,1), transform .5s cubic-bezier(.2,.7,.3,1); }
  .reveal.in { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .plans { gap: 16px; }
  .plan { padding: 24px; }
  .hero-grid { gap: 32px; }
}

@media (max-width: 920px) {
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan.pop { margin-top: 16px; }
}

@media (max-width: 860px) {
  .hero-grid, .steps { grid-template-columns: 1fr; }
  /* stacked: no overhang — the card sits inside the teal block */
  .mock { margin: 0 auto; transform: none; }
  .hero { padding-bottom: 44px; }
  .strip-inner { padding: 26px 0; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; background: var(--teal);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 20px; box-shadow: 0 16px 30px rgba(11,20,26,.25);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links .btn { margin-top: 12px; padding: 13px 22px; }
  .nav-toggle { display: block; }
}

@media (max-width: 860px) and (prefers-reduced-motion: no-preference) {
  @keyframes rise-mock {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }
}

@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .hero .cta-row { flex-direction: column; align-items: stretch; }
  .hero .cta-row .btn { width: 100%; }
  .strip-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .band .btn { width: 100%; }
  .foot-grid { flex-direction: column; }
}

@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .plan { padding: 20px; }
  .feature, .step { padding: 20px; }
}
