/* Wyseb marketing site - shared design system.
   Palette and type carried over from the live onepager (wyseb.com/cs/wyseb-onepager.html).
   Signature component: the agent work log (.log). ASCII punctuation only in copy. */

:root {
  --honey: #FFDC1A;
  --honey-dark: #8A6D00;
  --honey-lt: rgba(255, 220, 26, .16);
  --honey-lt2: rgba(255, 220, 26, .09);
  --honey-pale: #FFF8CF;
  --ink: #121212;
  --ink-2: #45453F;
  --ink-3: #5C5C54;
  --cream: #F5F5F0;
  --cream-2: #EBEBE3;
  --cream-3: #DDDDD2;
  --white: #FFFFFF;
  --green: #22C55E;
  --green-dark: #16A34A;
  --border: rgba(18, 18, 18, .09);
  --sh: 0 4px 24px rgba(18, 18, 18, .07);
  --sh-lg: 0 16px 56px rgba(18, 18, 18, .12);
  --ff: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  --display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --label: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  --r-card: 20px;
  --r-inner: 12px;
  --r-pill: 100px;
  --nav-h: 68px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff);
  font-size: 17px;
  line-height: 1.58;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
button { font-family: inherit; }

:focus-visible {
  outline: 3px solid var(--honey-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.container--narrow { max-width: 880px; }

/* ---------- Type scale ---------- */

.display {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.018em;
}
.h3 { font-size: 1.16rem; font-weight: 600; line-height: 1.32; }
.lead { font-size: clamp(1.04rem, 1.35vw, 1.16rem); line-height: 1.58; color: var(--ink-2); }
.small { font-size: .85rem; color: var(--ink-3); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--label);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--honey-dark);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--honey);
  border-radius: 2px;
}

.hl { background: linear-gradient(transparent 62%, var(--honey) 62%, var(--honey) 94%, transparent 94%); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  font-family: var(--ff);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: #2A2A28; box-shadow: var(--sh); }

.btn--honey { background: var(--honey); color: var(--ink); }
.btn--honey:hover { box-shadow: 0 8px 28px rgba(255, 220, 26, .45); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--cream-3); }
.btn--ghost:hover { border-color: var(--ink); }

.btn--sm { padding: 9px 18px; font-size: .86rem; }

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

/* The bar is ink so the wordmark can be plain type: white "Wyse" with the
   honey B at 13.8:1, the same treatment as the footer, no chip needed. */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 18, 18, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.is-stuck { border-color: rgba(245, 245, 240, .12); box-shadow: 0 2px 20px rgba(0, 0, 0, .32); }
.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
}
/* ---------- Wordmark ---------- */

/* Plain type, no chip. Both the nav and the footer are ink, so one treatment
   serves both: white "Wyse" with the honey B at 13.8:1. Never put this on a
   light background, where the B drops to 1.24:1. */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--white);
}
.wordmark b { color: var(--honey); font-weight: 700; }

.nav__logo { margin-right: 4px; }
.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 12px;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(245, 245, 240, .82);
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color .15s ease, background .15s ease, box-shadow .15s ease;
}
.nav__link:hover { background: rgba(255, 255, 255, .1); color: var(--white); }
/* An open item turns into a white pill that joins the panel below it. */
.nav__item.open > .nav__link { background: var(--white); color: var(--ink); box-shadow: var(--sh); }
.nav__linkicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  color: var(--cream-3);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(245, 245, 240, .16);
  border-radius: 9px;
}
.nav__linkicon svg { width: 15px; height: 15px; stroke-width: 1.8; }
.nav__link:hover .nav__linkicon { color: var(--honey); background: rgba(255, 220, 26, .16); border-color: rgba(255, 220, 26, .3); }
.nav__item.open > .nav__link .nav__linkicon { color: var(--honey-dark); background: var(--honey-lt); border-color: rgba(138, 109, 0, .16); }
.nav__caret { display: inline-flex; width: 12px; height: 12px; transition: transform .15s ease; }
.nav__caret svg { width: 12px; height: 12px; }
.nav__item.open .nav__caret { transform: rotate(180deg); }
.nav__cta { display: flex; align-items: center; gap: 10px; }

.nav__drop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(760px, calc(100vw - 40px));
  min-width: 680px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--sh-lg);
  padding: 10px;
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.nav__drop--industries { width: min(700px, calc(100vw - 40px)); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nav__item.open .nav__drop { display: grid; }
.nav__drophead {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: var(--ink);
  background: linear-gradient(115deg, var(--honey-pale), rgba(255, 255, 255, .92));
  border: 1px solid rgba(138, 109, 0, .12);
  border-radius: 14px;
}
.nav__drophead-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  color: var(--honey-dark);
  background: var(--white);
  border: 1px solid rgba(138, 109, 0, .13);
  border-radius: 11px;
  box-shadow: 0 5px 16px rgba(18, 18, 18, .06);
}
.nav__drophead-mark svg { width: 19px; height: 19px; stroke-width: 1.7; }
.nav__drophead-copy { min-width: 0; display: grid; gap: 1px; line-height: 1.3; }
.nav__drophead-copy small { font-size: .76rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--honey-dark); }
.nav__drophead-copy strong { font-size: .92rem; font-weight: 600; }
.nav__drophead-badge {
  margin-left: auto;
  padding: 5px 9px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, .76);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap;
}
.nav__dropbody {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.nav__dropcol { display: grid; gap: 10px; align-content: start; }
.nav__section {
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #FAFAF6;
}
.nav__section--overview { grid-column: 1 / -1; }
.nav__group {
  display: block;
  font-family: var(--label);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 4px 8px 7px;
}
.nav__droplink {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px;
  border-radius: 11px;
  font-size: .86rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  white-space: normal;
  transition: color .15s ease, background .15s ease, box-shadow .15s ease;
}
.nav__droplink::after { content: "\203A"; margin-left: auto; color: var(--honey-dark); font-size: 1.2rem; opacity: 0; transform: translateX(-3px); transition: opacity .15s ease, transform .15s ease; }
.nav__droplink:hover { background: var(--white); color: var(--ink); box-shadow: 0 3px 12px rgba(18, 18, 18, .06); }
.nav__droplink:hover::after { opacity: .7; transform: translateX(0); }
.nav__droplink small { display: block; font-weight: 400; font-size: .76rem; color: var(--ink-3); white-space: normal; }
.nav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  color: var(--ink-2);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(18, 18, 18, .04);
  border-radius: 9px;
}
.nav__icon svg { width: 17px; height: 17px; stroke-width: 1.8; }
.nav__droplink:hover .nav__icon { color: var(--honey-dark); background: var(--honey-lt); border-color: rgba(138, 109, 0, .14); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nav__burger span { width: 22px; height: 2px; background: var(--cream); transition: transform .2s ease, opacity .2s ease; }

/* The ghost CTA sits on ink here, so it needs light edges, not the cream-page
   version used elsewhere on the site. */
.nav .btn--ghost { color: var(--cream); border-color: rgba(245, 245, 240, .3); }
.nav .btn--ghost:hover { color: var(--white); border-color: var(--cream); background: rgba(255, 255, 255, .08); }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.hero { padding: clamp(42px, 6.5vw, 80px) 0 clamp(36px, 5vw, 60px); overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(30px, 4.5vw, 56px);
  align-items: center;
}
.hero__copy .eyebrow { margin-bottom: 16px; }
.hero__copy .display { margin-bottom: 16px; }
.hero__copy .lead { margin-bottom: 24px; max-width: 36em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero__note { font-size: .84rem; line-height: 1.55; color: var(--ink-3); }
.hero__note b { color: var(--ink-2); }

/* ---------- Industry photography ---------- */

.industry-photo {
  position: relative;
  min-height: 440px;
  margin: 0;
  overflow: hidden;
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--sh-lg);
}
.industry-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 62%;
  background: linear-gradient(180deg, transparent 0%, rgba(20, 18, 13, .82) 100%);
  pointer-events: none;
}
.industry-photo img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  display: block;
}
.industry-photo figcaption {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 20px;
  display: grid;
  gap: 6px;
  color: var(--white);
}
.industry-photo figcaption strong { max-width: 30em; font-size: 1rem; line-height: 1.45; }
.industry-photo__kicker {
  font-family: var(--label);
  font-size: .76rem;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--honey);
}
.industry-journey .log { margin-left: auto; }

/* ---------- The agent work log (signature component) ---------- */

.log {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--sh-lg);
  padding: 20px;
  max-width: 460px;
}
.log__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.log__title { font-size: .9rem; font-weight: 700; }
.log__title small { display: block; font-weight: 500; font-size: .74rem; color: var(--ink-3); }
.log__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--label);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--green-dark);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .45); }
  70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.log__row {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 12px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px dashed var(--cream-2);
}
.log__row:last-child { border-bottom: 0; }
.log__time { font-family: var(--label); font-size: .78rem; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.log__what { font-size: .9rem; font-weight: 600; line-height: 1.4; }
.log__what small { display: block; font-weight: 400; font-size: .78rem; color: var(--ink-3); }
.log__tag {
  font-family: var(--label);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.log__tag--done { background: rgba(34, 197, 94, .12); color: var(--green-dark); }
.log__tag--sent { background: var(--honey-lt); color: var(--honey-dark); }
.log__tag--wait { background: var(--cream-2); color: var(--ink-3); }

/* staggered entrance */
.log--animated .log__row { opacity: 0; transform: translateY(8px); animation: logrow .5s ease forwards; }
.log--animated .log__row:nth-child(2) { animation-delay: .35s; }
.log--animated .log__row:nth-child(3) { animation-delay: .7s; }
.log--animated .log__row:nth-child(4) { animation-delay: 1.05s; }
.log--animated .log__row:nth-child(5) { animation-delay: 1.4s; }
.log--animated .log__row:nth-child(6) { animation-delay: 1.75s; }
@keyframes logrow { to { opacity: 1; transform: translateY(0); } }

/* WhatsApp bubble inside a log or panel */
.bubble {
  background: var(--honey-pale);
  border: 1px solid rgba(138, 109, 0, .12);
  border-radius: 12px 12px 4px 12px;
  padding: 10px 12px;
  font-size: .84rem;
  line-height: 1.45;
  max-width: 34em;
}
.bubble--in { background: var(--white); border-color: var(--border); border-radius: 12px 12px 12px 4px; }
.bubble__meta {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  font-family: var(--label);
  font-size: .64rem;
  color: var(--ink-3);
  margin-top: 4px;
}
.bubble__meta .tick { color: var(--green-dark); letter-spacing: -.18em; }

/* ---------- Sections ---------- */

.section { padding: clamp(52px, 7vw, 88px) 0; }
.section--alt { background: var(--cream-2); }
.section--ink { background: var(--ink); color: var(--cream); }
.section--ink .h2 { color: var(--white); }
.section--ink .lead { color: var(--cream-3); }
.section--ink .eyebrow { color: var(--honey); }
.section__head { max-width: 680px; margin-bottom: clamp(30px, 4vw, 48px); }
.section__head .eyebrow { margin-bottom: 14px; }
.section__head .h2 { margin-bottom: 14px; }

/* ---------- Stat strip ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 26px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats__num { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.02em; }
.stats__label { font-size: .85rem; color: var(--ink-3); }

/* ---------- Cards ---------- */

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 26px;
  box-shadow: var(--sh);
}
.card--flat { box-shadow: none; }
.card .h3 { margin-bottom: 8px; }
.card p { font-size: .95rem; line-height: 1.65; color: var(--ink-2); }

/* pain card */
.pain { border-top: 4px solid var(--honey); }
.pain__quote { font-size: .88rem; color: var(--ink-3); font-style: italic; margin-top: 10px; }

/* agent card */
.agent-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 26px;
  box-shadow: var(--sh);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.agent-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }

/* The icon carries the card; the sequence number rides with the title, where
   it reads as a label rather than competing with the mark. */
.agent-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  background: var(--honey);
  color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.agent-card__icon svg { width: 23px; height: 23px; }
.agent-card:hover .agent-card__icon {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(255, 220, 26, .5);
}
.agent-card__num {
  margin-right: 8px;
  font-family: var(--label);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--honey-dark);
  vertical-align: 1px;
}
.agent-card .h3 { margin: 4px 0 0; }
.agent-card p { font-size: .94rem; line-height: 1.62; color: var(--ink-2); flex: 1; }
.agent-card__go { font-size: .9rem; font-weight: 700; color: var(--honey-dark); }
.agent-card__soon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--label);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--cream-2);
  color: var(--ink-3);
  padding: 4px 10px;
  border-radius: var(--r-pill);
}

/* metric chips (agent page hero) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  box-shadow: var(--sh);
}
.chip b { font-size: 1rem; font-weight: 800; }
.chip span { font-size: .78rem; color: var(--ink-3); }

/* pillar (why different) */
.pillar { border-left: 4px solid var(--honey); border-radius: 6px var(--r-card) var(--r-card) 6px; }
.pillar__metric {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--label);
  font-size: .8rem;
  font-weight: 600;
  color: var(--honey-dark);
  background: var(--honey-lt);
  padding: 4px 12px;
  border-radius: var(--r-pill);
}

/* ---------- Loop (mechanism timeline) ---------- */

.loop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: stage; }
.loop__stage {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 24px 22px;
  box-shadow: var(--sh);
}
.loop__stage::before {
  counter-increment: stage;
  content: counter(stage, decimal-leading-zero);
  font-family: var(--label);
  font-size: .78rem;
  font-weight: 600;
  color: var(--honey-dark);
  background: var(--honey-lt);
  padding: 3px 10px;
  border-radius: var(--r-pill);
}
.loop__stage h3 { font-size: 1rem; font-weight: 700; margin: 12px 0 6px; }
.loop__stage p { font-size: .91rem; line-height: 1.6; color: var(--ink-2); margin-bottom: 14px; }
.badge {
  font-family: var(--label);
  font-size: .75rem;
  line-height: 1.7;
  background: var(--cream);
  border: 1px dashed var(--cream-3);
  border-radius: var(--r-inner);
  padding: 10px 12px;
  color: var(--ink-2);
  overflow-x: auto;
}
.badge b { color: var(--ink); font-weight: 600; }
.badge .ok { color: var(--green-dark); }

/* ---------- Split feature block ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split__copy .eyebrow { margin-bottom: 14px; }
.split__copy .h2 { margin-bottom: 14px; }
.split__copy .lead { margin-bottom: 20px; }
.ticks { list-style: none; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; font-size: .96rem; line-height: 1.55; font-weight: 500; }
.ticks li::before { content: "\2713"; font-weight: 800; color: var(--green-dark); }

/* ---------- Industry categories ---------- */

/* Five numbered columns. The number is real structure here: the categories run
   from the top of the funnel outward, so the sequence carries meaning. */
.cats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.cat {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-top: 5px solid var(--honey);
  border-radius: 6px 6px var(--r-card) var(--r-card);
  box-shadow: var(--sh);
  padding: 22px 20px 20px;
}
.cat__num {
  font-family: var(--label);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  color: var(--cream-3);
  letter-spacing: -0.02em;
}
.cat__name {
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 12px 0 8px;
}
.cat__blurb { font-size: .87rem; line-height: 1.55; color: var(--ink-3); margin-bottom: 16px; }
.cat__list { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 2px; }
.cat__list a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 8px;
  margin: 0 -8px;
  border-radius: 9px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.cat__list a:hover { background: var(--honey-lt); color: var(--ink); }
.cat__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  color: var(--honey-dark);
  background: var(--honey-lt2);
  border-radius: 7px;
}
.cat__ico svg { width: 15px; height: 15px; }

@media (max-width: 1100px) { .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px)  { .cats { grid-template-columns: 1fr; } }

/* ---------- Product screenshots ---------- */

.phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: start;
}
.phone {
  background: var(--ink);
  border-radius: 34px;
  padding: 10px;
  box-shadow: var(--sh-lg);
}
.phone img {
  width: 100%;
  height: auto;
  border-radius: 26px;
  display: block;
}
.phone figcaption {
  text-align: center;
  font-size: .85rem;
  font-weight: 600;
  color: var(--cream-3);
  padding: 10px 6px 4px;
}
.phones--offset .phone:nth-child(2) { margin-top: clamp(0px, 3vw, 40px); }
.phones--offset .phone:nth-child(3) { margin-top: clamp(0px, 6vw, 80px); }

.photo-band { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--sh-lg); }
.photo-band img { width: 100%; height: auto; }

@media (max-width: 640px) {
  .phones { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .phones--offset .phone:nth-child(2), .phones--offset .phone:nth-child(3) { margin-top: 0; }
}

/* ---------- Pricing ---------- */

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 28px 24px;
  box-shadow: var(--sh);
}
.plan--hot { border: 2px solid var(--ink); box-shadow: var(--sh-lg); }
.plan__flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--honey);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.plan__name { font-size: 1rem; font-weight: 700; }
.plan__price { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; margin: 6px 0 2px; }
.plan__per { font-size: .78rem; color: var(--ink-3); margin-bottom: 18px; }
.plan .ticks { flex: 1; margin-bottom: 22px; }
.plan .ticks li { font-size: .9rem; }

/* ---------- Testimonials ---------- */

.quote-card { display: flex; flex-direction: column; gap: 14px; }
.quote-card__result { font-size: .85rem; font-weight: 700; color: var(--honey-dark); text-transform: uppercase; letter-spacing: .06em; }
.quote-card__stars { color: var(--honey-dark); letter-spacing: 2px; }
.quote-card blockquote { margin: 0; font-size: .96rem; line-height: 1.65; color: var(--ink-2); }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; font-size: .85rem; }
.quote-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--honey);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.quote-card figcaption b { display: block; }
.quote-card figcaption span { color: var(--ink-3); }

/* ---------- Form ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 700; }
.field input, .field select, .field textarea {
  font-family: var(--ff);
  font-size: 1rem;
  padding: 13px 14px;
  border: 1px solid var(--cream-3);
  border-radius: var(--r-inner);
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--honey);
  border-color: var(--honey-dark);
}
.form-success { display: none; text-align: center; padding: 36px 0; }
.form-success.show { display: block; }
.form-wrap.done .form-grid, .form-wrap.done .form-note, .form-wrap.done .btn { display: none; }
.form-note { grid-column: 1 / -1; font-size: .76rem; color: var(--ink-3); }
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
.form-error {
  display: none;
  margin-top: 14px;
  color: #B42318;
  font-size: .9rem;
  font-weight: 600;
  text-align: center;
}
.form-error.show { display: block; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--ink);
  color: var(--cream);
  border-radius: calc(var(--r-card) + 8px);
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
}
.cta-band .h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { color: var(--cream-3); max-width: 40em; margin: 0 auto 26px; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin-top: 26px; }
.trust-chips span { font-size: .8rem; color: var(--cream-3); }
.trust-chips span::before { content: "\2713 "; color: var(--green); font-weight: 800; }

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

.footer { background: var(--ink); color: var(--cream-3); padding: 56px 0 32px; margin-top: 0; }
.footer a { color: var(--cream-3); text-decoration: none; font-size: .9rem; }
.footer a:hover { color: var(--white); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
/* Wordmark: "Wyse" takes whatever reads on the background, the B is always
   the brand yellow. See .nav__logo for the light-background half. */
/* Same .wordmark treatment as the nav. */
.footer__brand { margin: 0 0 10px; }
.footer__blurb { font-size: .9rem; line-height: 1.6; max-width: 26em; }
.footer__col h4 {
  font-family: var(--label);
  font-size: .77rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.footer__col ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.footer__legal {
  border-top: 1px solid rgba(245, 245, 240, .12);
  padding-top: 24px;
  font-size: .78rem;
  line-height: 1.6;
  color: #8B8B84;
  display: grid;
  gap: 6px;
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero { padding: clamp(40px, 6vw, 68px) 0 clamp(30px, 4vw, 48px); }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero .display { margin-bottom: 16px; max-width: 17em; }
.page-hero .lead { max-width: 38em; margin-bottom: 26px; }

/* ---------- Utilities ---------- */

.center { text-align: center; }
.center .section__head { margin-left: auto; margin-right: auto; }
.mt-lg { margin-top: clamp(32px, 5vw, 56px); }
.mb-md { margin-bottom: 24px; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .grid--4, .plans { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .loop { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__grid, .split { grid-template-columns: 1fr; }
  .split--flip .split__visual { order: -1; }
  .log { max-width: 100%; }
}

@media (max-width: 860px) {
  .nav__menu {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    border-bottom: 1px solid rgba(245, 245, 240, .12);
    box-shadow: var(--sh-lg);
    padding: 12px 16px 20px;
    display: none;
  }
  .nav__menu.open { display: flex; }
  .nav__link { width: 100%; justify-content: flex-start; padding: 10px; font-size: 1rem; }
  .nav__linkicon { width: 32px; height: 32px; flex-basis: 32px; }
  /* The whole sheet is dark on mobile, so an open item stays dark rather than
     turning into the desktop white pill. */
  .nav__item.open > .nav__link { background: rgba(255, 255, 255, .1); color: var(--white); box-shadow: none; }
  .nav__item.open > .nav__link .nav__linkicon { color: var(--honey); background: rgba(255, 220, 26, .16); border-color: rgba(255, 220, 26, .3); }
  .nav__caret { margin-left: auto; }
  .nav__drop {
    position: static;
    width: auto;
    min-width: 0;
    display: none;
    grid-template-columns: 1fr;
    box-shadow: none;
    border: 0;
    background: rgba(255, 255, 255, .06);
    border-radius: 12px;
    padding: 10px 14px;
    margin: 0 0 8px;
  }
  .nav__droplink { color: rgba(245, 245, 240, .84); }
  .nav__droplink small { color: rgba(245, 245, 240, .55); }
  .nav__droplink:hover { background: rgba(255, 255, 255, .1); color: var(--white); box-shadow: none; }
  .nav__icon { color: var(--cream-3); background: rgba(255, 255, 255, .08); border-color: rgba(245, 245, 240, .16); box-shadow: none; }
  .nav__droplink:hover .nav__icon { color: var(--honey); background: rgba(255, 220, 26, .16); border-color: rgba(255, 220, 26, .3); }
  .nav__group { color: rgba(245, 245, 240, .5); }
  .nav__drop--industries { width: auto; grid-template-columns: 1fr; }
  .nav__drophead { display: none; }
  .nav__dropbody, .nav__dropcol { display: contents; }
  .nav__section--health { order: 1; }
  .nav__section--fitness-and-wellness { order: 2; }
  .nav__section--education { order: 3; }
  .nav__section--home-and-lifestyle { order: 4; }
  .nav__section {
    padding: 5px;
    border: 0;
    border-radius: 10px;
    background: transparent;
  }
  .nav__section--overview { grid-column: auto; }
  .nav__group { padding: 8px 7px 5px; }
  .nav__item.open .nav__drop { display: grid; }
  .nav__droplink { white-space: normal; }
  .nav__burger { display: flex; }
  .nav__cta { margin-left: auto; }
  .nav__cta .btn--ghost { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .nav__inner { gap: 10px; }
  .hero { padding: 40px 0 48px; }
  .hero__grid { gap: 32px; }
  .industry-photo, .industry-photo img { min-height: 300px; }
  .industry-photo figcaption { left: 18px; right: 18px; bottom: 16px; }
  .hero__ctas { display: grid; grid-template-columns: 1fr; width: 100%; }
  .hero__ctas .btn { width: 100%; }
  .section { padding: 48px 0; }
  .section__head { margin-bottom: 28px; }
  .grid--2, .grid--3, .grid--4, .plans, .loop { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .card, .agent-card, .loop__stage, .plan { padding: 22px; }
  .log { padding: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .log__row { grid-template-columns: 68px 1fr; }
  .log__tag { grid-column: 2; justify-self: start; }
}

/* ---------- Motion safety ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .log--animated .log__row { opacity: 1; transform: none; }
}
