/* ===========================================================
   Nexivo marketing kit — local styles
   Inherits tokens from ../../colors_and_type.css
   =========================================================== */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--fg); font-family: var(--font-sans); }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-sans); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  height: 72px;
  padding: 0 48px;
  background: rgba(251, 250, 245, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--ink-100);
}
.nav__logo { display: inline-flex; align-items: center; gap: 10px; }
.nav__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink-1000);
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
}
.nav__word::after {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--lime-500);
  margin-bottom: 6px;
}
.nav__links { display: flex; gap: 4px; margin-left: 56px; }
.nav__link {
  font-weight: 500;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  transition: background 220ms cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.nav__link:hover { background: var(--bone-100); }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav__signin { font-weight: 500; font-size: 14px; }
.nav__cta {
  font-weight: 700;
  font-size: 14px;
  background: var(--ink-1000);
  color: var(--bone-50);
  padding: 11px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.nav__cta::after { content: ""; width: 6px; height: 6px; background: var(--lime-500); }

/* ---------- hero ---------- */
.hero {
  padding: 88px 48px 120px;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 72px;
  align-items: center;
}
.hero__eyebrow {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-1000);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.hero__eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--lime-500); }
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 84px;
  line-height: 1.0;
  letter-spacing: -0.026em;
  margin: 0 0 28px;
  color: var(--ink-1000);
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}
.hero__title em { font-style: italic; font-weight: 400; }
.hero__sub {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-500);
  margin: 0 0 36px;
  max-width: 520px;
}
.hero__cta { display: flex; gap: 12px; align-items: center; }
.btn {
  font-weight: 600;
  font-size: 16px;
  padding: 17px 28px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 220ms cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.btn--primary { background: var(--lime-500); color: var(--ink-1000); font-weight: 700; box-shadow: var(--shadow-medium); }
.btn--primary:hover { background: var(--lime-400); transform: translateY(-2px); box-shadow: var(--shadow-elevated); }
.btn--ghost { background: transparent; color: var(--ink-1000); border-color: var(--ink-200); }
.btn--ghost:hover { background: var(--bone-100); }
.btn--secondary { background: var(--ink-1000); color: var(--bone-50); }
.btn--secondary:hover { background: var(--ink-800); }
.btn .icon { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hero__proof { margin-top: 36px; display: inline-flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-500); }
.hero__proof .pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500;
  background: rgba(199, 242, 48, 0.16);
  color: var(--ink-1000);
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(199, 242, 48, 0.55);
}
.hero__proof .pill .dot { width: 8px; height: 8px; background: var(--lime-500); border-radius: 999px; box-shadow: 0 0 0 3px rgba(199, 242, 48, 0.30); }

/* ---------- call card ---------- */
.hero__photo {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow-elevated);
}
.callcard {
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: var(--shadow-elevated);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.callcard__head { display: flex; align-items: center; gap: 12px; }
.callcard__avatar {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--ink-1000);
  color: var(--bone-50);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 13px;
}
.callcard__who { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.callcard__name { font-weight: 600; font-size: 14px; }
.callcard__meta { font-size: 12px; color: var(--ink-500); }
.callcard__status {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 11px/1 var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(199, 242, 48, 0.18); color: var(--ink-1000);
}
.callcard__status .dot { width: 6px; height: 6px; background: var(--lime-500); border-radius: 999px; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(199, 242, 48, 0.6); }
  50%     { box-shadow: 0 0 0 6px rgba(199, 242, 48, 0); }
}
.transcript { display: flex; flex-direction: column; gap: 12px; padding: 4px 0; }
.bubble {
  max-width: 90%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.45;
}
.bubble--them { background: var(--bone-100); color: var(--ink-1000); align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble--ai   { background: var(--ink-1000); color: var(--bone-50); align-self: flex-end; border-bottom-right-radius: 4px; }
.bubble small { display: block; font: 400 11px/1 var(--font-sans); opacity: 0.55; margin-top: 4px; }
.callcard__action { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--ink-100); display: flex; align-items: center; justify-content: space-between; font: 500 13px/1 var(--font-sans); color: var(--ink-1000); }
.callcard__action .meta { color: var(--ink-500); font-weight: 400; }

/* ---------- proof bar ---------- */
.proofbar {
  background: #000;
  color: var(--bone-50);
  padding: 36px 48px;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}
.proofbar__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: nowrap;
}
.proofbar__label {
  font: 600 11px/1 var(--font-sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-300);
  flex-shrink: 0;
  white-space: nowrap;
}
.proofbar__names {
  display: flex;
  align-items: center;
  gap: 40px;
  flex: 1;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.012em;
  color: var(--bone-50);
}
.proofbar__names span {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.proofbar__names span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--ink-500);
  margin-right: 40px;
  margin-left: -40px;
}

.proofbar__logo {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  vertical-align: middle;
}
.proofbar__logo--on-white {
  filter: grayscale(1) invert(1) brightness(10);
  mix-blend-mode: screen;
  opacity: 0.75;
}
.proofbar__logo--on-dark {
  filter: none;
  mix-blend-mode: screen;
  opacity: 0.75;
}
.proofbar__logo--riventi {
  height: 24px;
  filter: none;
  mix-blend-mode: normal;
  opacity: 0.82;
}
.proofbar__logo--rellax {
  height: 34px;
  filter: none;
  mix-blend-mode: normal;
  opacity: 0.86;
}

/* ---------- features ---------- */
.section { padding: 120px 48px; }
.section--ink { background: var(--ink-1000); color: var(--bone-50); }
.section__head {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  margin-bottom: 64px;
  align-items: end;
}
.section__eyebrow {
  font: 600 12px/1 var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-1000);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.section__eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--lime-500); }
.section--ink .section__eyebrow { color: var(--bone-50); }
.section__title {
  font: 400 56px/1.05 var(--font-display);
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}
.section__intro {
  font: 400 18px/1.55 var(--font-sans);
  color: var(--ink-500);
  margin: 0;
  max-width: 540px;
}
.section--ink .section__intro { color: var(--ink-300); }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-subtle);
  transition: all 220ms cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 320px;
}
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-medium); }
.feature__num {
  font: 400 14px/1 var(--font-display);
  color: var(--ink-500);
  display: inline-flex; align-items: center; gap: 10px;
}
.feature__num::before { content: ""; width: 6px; height: 6px; background: var(--lime-500); }
.feature__title { font: 400 26px/1.18 var(--font-display); letter-spacing: -0.014em; margin: 0; }
.feature__body { font: 400 15px/1.55 var(--font-sans); color: var(--ink-500); margin: 0; }
.feature__more {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px;
}
.feature__more svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- product strip ---------- */
.product {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  align-items: center;
}
.product__copy { display: flex; flex-direction: column; gap: 24px; }
.product__copy h2 { font: 400 48px/1.08 var(--font-display); letter-spacing: -0.022em; margin: 0; text-wrap: balance; }
.product__copy p { font: 400 17px/1.55 var(--font-sans); color: var(--ink-500); margin: 0; }
.product__list { display: flex; flex-direction: column; gap: 14px; margin: 8px 0 12px; padding: 0; list-style: none; }
.product__list li { display: flex; align-items: flex-start; gap: 12px; font: 400 15px/1.5 var(--font-sans); color: var(--ink-1000); }
.product__list li::before {
  content: ""; width: 16px; height: 16px;
  background: var(--lime-500);
  flex-shrink: 0; margin-top: 5px;
}
.product__visual {
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: var(--shadow-elevated);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.metric {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px;
  background: var(--bone-50);
  border-radius: 12px;
}
.metric__label { font: 600 11px/1 var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-500); }
.metric__num { font: 400 44px/1 var(--font-display); letter-spacing: -0.02em; font-feature-settings: "tnum","lnum"; }
.metric__delta { font: 500 13px/1 var(--font-sans); color: var(--success-500); display: inline-flex; align-items: center; gap: 4px; }

/* ---------- savings strip ---------- */
.savings {
  background: var(--lime-500);
  padding: 64px 48px;
  display: grid;
  grid-template-columns: 5fr 4fr 3fr;
  gap: 48px;
  align-items: center;
}
.savings h3 { font: 400 40px/1.08 var(--font-display); letter-spacing: -0.022em; margin: 0; color: var(--ink-1000); text-wrap: balance; }
.savings__stat { display: flex; flex-direction: column; gap: 4px; }
.savings__stat .num { font: 400 64px/1 var(--font-display); color: var(--ink-1000); letter-spacing: -0.02em; font-feature-settings: "tnum","lnum"; }
.savings__stat .label { font: 500 13px/1 var(--font-sans); color: var(--ink-700); letter-spacing: 0.04em; }
.savings__cta { justify-self: end; }
.savings__cta .btn--secondary:hover { background: var(--ink-900); }

/* ---------- closing CTA ---------- */
.closer {
  padding: 140px 48px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
  background: var(--ink-1000);
  color: var(--bone-50);
}
.closer h2 { font: 400 88px/1 var(--font-display); letter-spacing: -0.028em; margin: 0; max-width: 14ch; text-wrap: balance; font-variation-settings: "opsz" 144; }
.closer h2,
.closer h2 em { color: #fff; }
.closer h2 em { font-style: italic; }
.closer p { font: 400 19px/1.5 var(--font-sans); color: var(--ink-300); margin: 0; max-width: 580px; }

/* ---------- faq ---------- */
.faq-section { background: var(--bone-50); }
.faq-head { max-width: 720px; margin-bottom: 48px; }
.faq-title {
  font: 400 40px/1.05 var(--font-display);
  letter-spacing: -0.018em;
  color: var(--ink-1000);
  font-variation-settings: "opsz" 72;
  margin: 14px 0 0;
}

.faq { max-width: 860px; }

.faq__item { border-bottom: 1px solid var(--ink-100); }
.faq__item:first-child { border-top: 1px solid var(--ink-100); }

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font: 500 16px/1.3 var(--font-sans);
  color: var(--ink-1000);
  transition: color 200ms var(--ease-out);
}
.faq__q:hover { color: var(--ink-700); }

.faq__icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--lime-500);
  flex-shrink: 0;
  position: relative;
  transition: transform 320ms var(--ease-out);
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--ink-1000);
  border-radius: 2px;
  transition: opacity 200ms var(--ease-out);
}
.faq__icon::before { width: 12px; height: 1.5px; transform: translate(-50%, -50%); }
.faq__icon::after  { width: 1.5px; height: 12px; transform: translate(-50%, -50%); }

.faq__item[data-open] .faq__icon { transform: rotate(45deg); }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 400ms var(--ease-out);
}
.faq__item[data-open] .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  font: 400 14px/1.65 var(--font-sans);
  color: var(--ink-500);
  padding-bottom: 24px;
  max-width: 720px;
  margin: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 300ms var(--ease-out) 80ms,
              transform 300ms var(--ease-out) 80ms;
}
.faq__item[data-open] .faq__a p {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- booking modal ---------- */
.bm {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 280ms var(--ease-out);
}
.bm--open {
  pointer-events: all;
  opacity: 1;
}
.bm__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 9, 0.52);
  cursor: pointer;
}
.bm__panel {
  position: relative;
  background: var(--bone-50);
  border-radius: 16px;
  width: 100%;
  max-width: 700px;
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(40px);
  transition: transform 420ms var(--ease-out);
  box-shadow: 0 24px 80px rgba(10, 10, 9, 0.22);
}
.bm--open .bm__panel {
  transform: translateY(0);
}
.bm__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--ink-100);
  flex-shrink: 0;
}
.bm__brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.022em;
  color: var(--ink-1000);
  display: inline-flex;
  align-items: flex-end;
  gap: 5px;
}
.bm__brand::after {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--lime-500);
  margin-bottom: 4px;
}
.bm__close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--ink-100);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 160ms var(--ease-out);
}
.bm__close:hover { background: var(--bone-100); }
.bm__close svg {
  width: 15px;
  height: 15px;
  stroke: var(--ink-1000);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}
.bm__body { flex: 1; overflow: hidden; min-height: 0; }
.bm__inline {
  width: 100%;
  height: 680px;
  min-width: 0;
}
.bm__inline .calendly-inline-widget {
  width: 100% !important;
  height: 100% !important;
}

@media (max-width: 600px) {
  .bm { padding: 0; align-items: flex-end; }
  .bm__panel {
    border-radius: 16px 16px 0 0;
    max-height: 92vh;
    transform: translateY(100%);
  }
  .bm--open .bm__panel { transform: translateY(0); }
  .bm__inline { height: calc(92vh - 62px); }
}

/* ---------- footer ---------- */
.footer {
  background: var(--ink-1000);
  color: var(--ink-300);
  padding: 64px 48px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  font: 400 14px/1.6 var(--font-sans);
}
.footer__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.022em;
  color: var(--bone-50);
  display: inline-flex;
  align-items: flex-end;
  gap: 6px;
  margin-bottom: 16px;
}
.footer__word::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--lime-500);
  margin-bottom: 8px;
}
.footer__tag { color: var(--ink-300); max-width: 280px; }
.footer h5 { font: 600 12px/1 var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone-50); margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a:hover { color: var(--bone-50); }
.footer__bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.10);
  margin-top: 32px;
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
}

/* ---------- calculator modal ---------- */
.calc-scrim {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 9, 0.55);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
  animation: calcIn 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.calc-scrim.is-open { display: flex; }
@keyframes calcIn { from { opacity: 0; } to { opacity: 1; } }

.calc {
  background: var(--bg);
  border-radius: 16px;
  width: 100%;
  max-width: 640px;
  box-shadow: var(--shadow-elevated);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 48px);
  animation: calcUp 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes calcUp { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.calc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--ink-100);
}
.calc__eyebrow {
  font: 600 11px/1 var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-1000);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.calc__eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--lime-500); }
.calc__close {
  background: var(--bone-100);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.calc__close svg { width: 16px; height: 16px; stroke: var(--ink-1000); stroke-width: 1.8; fill: none; stroke-linecap: round; }

.calc__steps {
  display: flex;
  gap: 6px;
  padding: 14px 28px 0;
}
.calc__step-dot {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: var(--ink-100);
  transition: background 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.calc__step-dot.is-active { background: var(--ink-1000); }
.calc__step-dot.is-done { background: var(--lime-500); }

.calc__body {
  padding: 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.calc__q {
  font: 400 28px/1.15 var(--font-display);
  letter-spacing: -0.018em;
  color: var(--ink-1000);
  margin: 0;
  text-wrap: balance;
}

.calc__options {
  display: grid;
  gap: 12px;
}
.calc__options[data-cols="2"] { grid-template-columns: 1fr 1fr; }
.calc__options[data-cols="3"] { grid-template-columns: repeat(3, 1fr); }

.calc__option {
  background: var(--bg-elevated);
  border: 1px solid var(--ink-100);
  border-radius: 12px;
  padding: 20px 22px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 220ms cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-sans);
  color: var(--ink-1000);
}
.calc__option:hover {
  border-color: var(--ink-1000);
  transform: translateY(-1px);
  box-shadow: var(--shadow-subtle);
}
.calc__option .lead {
  font: 600 16px/1.3 var(--font-sans);
  color: var(--ink-1000);
}
.calc__option .sub {
  font: 400 13px/1.4 var(--font-sans);
  color: var(--ink-500);
}

.calc__back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 13px/1 var(--font-sans);
  color: var(--ink-500);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 0;
  white-space: nowrap;
}
.calc__back svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.calc__back:hover { color: var(--ink-1000); }

/* result */
.calc__result {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.calc__result-card {
  background: var(--ink-1000);
  color: var(--bone-50);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.calc__result-eyebrow {
  font: 600 11px/1 var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-300);
}
.calc__result-num {
  font: 400 64px/1 var(--font-display);
  letter-spacing: -0.024em;
  color: var(--bone-50);
  font-feature-settings: "tnum","lnum";
}
.calc__result-num em {
  font-style: italic;
  color: var(--lime-500);
}
.calc__result-unit {
  font: 500 14px/1 var(--font-sans);
  color: var(--ink-300);
  letter-spacing: 0.04em;
}
.calc__result-body {
  font: 400 15px/1.55 var(--font-sans);
  color: var(--ink-300);
  margin: 8px 0 0;
}
.calc__result-body b { color: var(--bone-50); font-weight: 500; }

.calc__breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.calc__breakdown-item {
  background: var(--bone-100);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.calc__breakdown-item .k {
  font: 600 11px/1 var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.calc__breakdown-item .v {
  font: 400 22px/1.1 var(--font-display);
  letter-spacing: -0.012em;
  color: var(--ink-1000);
  font-feature-settings: "tnum","lnum";
}

.calc__foot {
  display: flex;
  gap: 10px;
  padding: 20px 28px 24px;
  border-top: 1px solid var(--ink-100);
  background: var(--bg);
}
.calc__foot[hidden] { display: none; }
.calc__foot .btn { flex: 1; justify-content: center; }

/* ---------- AI agent section ---------- */
.agent-section {
  background: var(--ink-1000);
  padding: 120px 48px;
  color: var(--bone-50);
}

.agent-section .section__eyebrow {
  color: var(--lime-500);
}
.agent-section .section__eyebrow::before {
  background: var(--lime-500);
}

.agent-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  align-items: center;
}

.agent-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.agent-copy h2 {
  font: 400 56px/1.04 var(--font-display);
  letter-spacing: -0.026em;
  color: var(--bone-50);
  font-variation-settings: "opsz" 96;
  text-wrap: balance;
  margin: 0;
}

.agent-copy h2 em {
  font-style: italic;
  color: var(--lime-500);
}

.agent-copy p {
  font: 400 18px/1.6 var(--font-sans);
  color: var(--ink-300);
  margin: 0;
  max-width: 480px;
}

.agent-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.agent-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font: 400 15px/1.5 var(--font-sans);
  color: var(--bone-50);
}

.agent-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--lime-500);
  flex-shrink: 0;
  margin-top: 7px;
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(199, 242, 48, 0.6);
}

/* ---------- chat mockup ---------- */
.agent-mock {
  background: var(--ink-900);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow:
    0 0 0 1px rgba(199,242,48,0.06),
    0 32px 80px rgba(0,0,0,0.45);
}

.agent-mock__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.agent-mock__avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--lime-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.agent-mock__avatar svg {
  width: 18px;
  height: 18px;
  stroke: var(--ink-1000);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.agent-mock__who {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.agent-mock__name {
  font: 600 14px/1 var(--font-sans);
  color: var(--bone-50);
}

.agent-mock__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: 500 11px/1 var(--font-sans);
  color: var(--lime-500);
  letter-spacing: 0.04em;
}

.agent-mock__status-dot {
  width: 6px;
  height: 6px;
  background: var(--lime-500);
  border-radius: 999px;
  animation: pulse 1.6s ease-in-out infinite;
}

.agent-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
}

.agent-bubble {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 12px;
  font: 400 14px/1.5 var(--font-sans);
  opacity: 0;
  transform: translateY(6px);
}

.agent-bubble--them {
  background: rgba(255,255,255,0.07);
  color: var(--bone-50);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  animation: bubbleIn 0.35s var(--ease-out) forwards;
}

.agent-bubble--agent {
  background: var(--ink-700);
  color: var(--bone-50);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  animation: bubbleIn 0.35s var(--ease-out) forwards;
}

.agent-bubble--confirm {
  background: var(--lime-500);
  color: var(--ink-1000);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  font-weight: 500;
  animation: bubbleIn 0.35s var(--ease-out) forwards;
}

.agent-bubble small {
  display: block;
  font: 400 11px/1 var(--font-sans);
  opacity: 0.5;
  margin-top: 4px;
}

.agent-bubble--confirm small {
  opacity: 0.65;
  color: var(--ink-700);
}

.agent-typing {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: var(--ink-700);
  border-radius: 12px;
  border-bottom-right-radius: 4px;
  opacity: 0;
  animation: bubbleIn 0.3s var(--ease-out) forwards;
}

.agent-typing span {
  width: 5px;
  height: 5px;
  background: var(--ink-300);
  border-radius: 999px;
  animation: typingDot 1.2s ease-in-out infinite;
}

.agent-typing span:nth-child(2) { animation-delay: 0.18s; }
.agent-typing span:nth-child(3) { animation-delay: 0.36s; }

@keyframes bubbleIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.agent-bubble:nth-child(1) { animation-delay: 0.3s; }
.agent-bubble:nth-child(2) { animation-delay: 1.2s; }
.agent-typing              { animation-delay: 2.0s; }
.agent-bubble:nth-child(3) { animation-delay: 3.2s; }
.agent-bubble:nth-child(4) { animation-delay: 4.4s; }

.agent-cal {
  margin-top: 4px;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(8px);
  animation: bubbleIn 0.4s var(--ease-out) 5.4s forwards;
}

.agent-cal__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #4285F4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.agent-cal__icon svg {
  width: 20px;
  height: 20px;
  stroke: #FFFFFF;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.agent-cal__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.agent-cal__title {
  font: 600 13px/1 var(--font-sans);
  color: var(--ink-1000);
}

.agent-cal__meta {
  font: 400 12px/1.4 var(--font-sans);
  color: var(--ink-500);
}

.agent-cal__check {
  margin-left: auto;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #34A853;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.agent-cal__check svg {
  width: 12px;
  height: 12px;
  stroke: #FFFFFF;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- savings stats (replaces inline style) ---------- */
.savings__stats {
  display: flex;
  gap: 48px;
}

/* ============================================================
   WOW EFFECTS
   1. scroll reveal   2. looping callcard   3. counter anim
   4. grain texture   5. pricing glow
   ============================================================ */

/* --- 1. scroll reveal --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.12s; }
[data-reveal-delay="2"] { transition-delay: 0.24s; }
[data-reveal-delay="3"] { transition-delay: 0.36s; }
[data-reveal-delay="4"] { transition-delay: 0.48s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* --- callcard initial state — invisible but in layout (no jumps) --- */
.callcard .bubble { opacity: 0; transform: translateY(8px); }
.callcard .callcard__action { opacity: 0; }
.callcard .callcard__typing { opacity: 0; }

/* --- 2. callcard typing indicator --- */
.callcard__typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: var(--ink-1000);
  border-radius: 12px;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  width: fit-content;
}
.callcard__typing span {
  width: 5px;
  height: 5px;
  background: var(--bone-300);
  border-radius: 999px;
  animation: typingDot 1.2s ease-in-out infinite;
}
.callcard__typing span:nth-child(2) { animation-delay: 0.18s; }
.callcard__typing span:nth-child(3) { animation-delay: 0.36s; }

/* --- 4. grain texture on dark sections --- */
.agent-section,
.closer {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.10'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   lg  ≤ 1024   tablet landscape
   md  ≤ 768    tablet portrait
   sm  ≤ 480    mobile
   ============================================================ */

/* ---------- hamburger — hidden on desktop ---------- */
.nav__hamburger { display: none; }

/* Mobile-only CTA inside hamburger dropdown — hidden on desktop */
.nav__link--mobile-cta { display: none; }

/* ---------- lg: ≤ 1024 ---------- */
@media (max-width: 1024px) {
  .hero {
    padding: 64px 32px 88px;
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero__title { font-size: 64px; }

  .section { padding: 88px 32px; }
  .section__head { grid-template-columns: 1fr; gap: 24px; }

  .product { grid-template-columns: 1fr; gap: 48px; }
  .product__copy h2 { font-size: 42px; }

  .savings {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 56px 32px;
  }
  .savings h3 { grid-column: 1 / -1; }
  .savings__stats { grid-column: 1 / -1; }
  .savings__cta { grid-column: 1 / -1; justify-self: start; }

  .agent-section { padding: 88px 32px; }
  .agent-layout { grid-template-columns: 1fr; gap: 56px; }

  .closer { padding: 100px 32px; }

  .footer {
    padding: 56px 32px 36px;
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* ---------- md: ≤ 768 ---------- */
@media (max-width: 768px) {
  /* Nav */
  .nav { padding: 0 20px; flex-wrap: wrap; height: auto; min-height: 64px; }
  .nav__links { display: none; margin-left: 0; }
  .nav__right { gap: 10px; }
  .nav__signin { display: none; }

  /* Hamburger reveal */
  .nav__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    margin-left: 8px;
    flex-shrink: 0;
    transition: background 200ms var(--ease-out);
  }
  .nav__hamburger:hover { background: var(--bone-100); }
  .nav__hamburger span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--ink-1000);
    border-radius: 2px;
    transition: transform 250ms var(--ease-out), opacity 200ms;
    pointer-events: none;
  }
  .nav--open .nav__hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav--open .nav__hamburger span:nth-child(2) { opacity: 0; }
  .nav--open .nav__hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* Mobile nav dropdown */
  .nav--open .nav__links {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 10;
    background: rgba(251, 250, 245, 0.98);
    backdrop-filter: blur(16px) saturate(140%);
    border-top: 1px solid var(--ink-100);
    padding: 8px 0 16px;
    gap: 2px;
    animation: navDropIn 200ms var(--ease-out);
  }
  @keyframes navDropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .nav--open .nav__link { padding: 12px 16px; font-size: 15px; }
  .nav--open .nav__link--mobile-cta {
    display: flex;
    margin: 8px 16px 8px;
    padding: 13px 18px;
    background: var(--ink-1000);
    color: var(--bone-50);
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    justify-content: center;
  }

  /* Hero */
  .hero {
    padding: 48px 20px 64px;
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__title { font-size: 56px; line-height: 1.02; }
  .hero__sub { font-size: 16px; max-width: 100%; }
  .hero__proof { flex-wrap: wrap; gap: 8px; }

  /* Proof bar */
  .proofbar { padding: 24px 20px; }
  .proofbar__inner { flex-direction: column; gap: 14px; align-items: flex-start; }
  .proofbar__names { flex-wrap: wrap; gap: 16px; font-size: 18px; }
  .proofbar__names span + span::before { display: none; }
  .proofbar__logo { height: 22px; }
  .proofbar__logo--riventi { height: 20px; }
  .proofbar__logo--rellax { height: 30px; }

  /* Sections */
  .section { padding: 72px 20px; }
  .section__head { grid-template-columns: 1fr; gap: 20px; }
  .section__title { font-size: 36px; }
  .section__intro { font-size: 16px; max-width: 100%; }

  /* Features */
  .features { grid-template-columns: 1fr; }
  .feature { min-height: auto; }

  /* Product */
  .product { grid-template-columns: 1fr; gap: 36px; }
  .product__copy h2 { font-size: 34px; }
  .product__visual { grid-template-columns: 1fr 1fr; }

  /* Savings */
  .savings {
    padding: 48px 20px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .savings h3 { font-size: 28px; }
  .savings__stats { gap: 24px; }
  .savings__stat .num { font-size: 52px; }
  .savings__cta { justify-self: auto; }

  /* Agent */
  .agent-section { padding: 72px 20px; }
  .agent-layout { grid-template-columns: 1fr; gap: 40px; }

  /* Closing CTA */
  .closer { padding: 80px 20px; gap: 24px; }
  .closer h2 { font-size: 48px; }
  .closer p { font-size: 16px; }

  /* Footer */
  .footer {
    padding: 48px 20px 32px;
    grid-template-columns: 1fr 1fr;
    gap: 28px 32px;
  }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Calculator modal */
  .calc__options[data-cols="2"] { grid-template-columns: 1fr 1fr; }
  .calc__options[data-cols="3"] { grid-template-columns: 1fr 1fr; }
}

/* ---------- sm: ≤ 480 ---------- */
@media (max-width: 480px) {
  .nav { padding: 0 16px; min-height: 60px; }
  .nav__word { font-size: 20px; }
  .nav__cta { display: none; }

  /* Hero */
  .hero { padding: 40px 16px 56px; gap: 36px; }
  .hero__title { font-size: 80px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; justify-content: center; }

  /* Proof bar */
  .proofbar { padding: 20px 16px; }
  .proofbar__logo { height: 18px; }
  .proofbar__logo--riventi { height: 18px; }
  .proofbar__logo--rellax { height: 26px; }

  /* Sections */
  .section { padding: 56px 16px; }
  .section__title { font-size: 30px; }

  /* Product metrics — single column on small mobile */
  .product__visual { grid-template-columns: 1fr; }

  /* Savings */
  .savings { padding: 40px 16px; }
  .savings h3 { font-size: 24px; }
  .savings__stats { flex-direction: column; gap: 12px; }
  .savings__stat .num { font-size: 48px; }
  .savings__cta .btn { width: 100%; justify-content: center; }

  /* Agent */
  .agent-section { padding: 56px 16px; }

  /* Closing CTA */
  .closer { padding: 64px 16px; }
  .closer h2 { font-size: 36px; }

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

  /* Calculator */
  .calc__options[data-cols="2"],
  .calc__options[data-cols="3"] { grid-template-columns: 1fr; }
  .calc__result-num { font-size: 48px; }
  .calc__breakdown { grid-template-columns: 1fr; }
  .calc__foot { flex-direction: column; }
  .calc__foot .btn { width: 100%; justify-content: center; }
  .calc__head { padding: 16px 20px; }
  .calc__body { padding: 20px; }
  .calc__steps { padding: 12px 20px 0; }
}

/* ---------- report card (interní automatizace) ---------- */
.product__visual--card {
  background: transparent;
  box-shadow: none;
  padding: 0;
  display: block;
}
.report-card {
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: var(--shadow-elevated);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.report-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.report-card__icon {
  width: 44px; height: 44px;
  background: var(--ink-1000);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.report-card__icon svg { width: 20px; height: 20px; stroke: var(--bone-50); }
.report-card__title { font-weight: 600; font-size: 15px; color: var(--ink-1000); display: block; }
.report-card__meta { font-size: 12px; color: var(--ink-400); display: block; margin-top: 2px; }
.report-card__stat {
  background: var(--bone-100);
  border-radius: 10px;
  padding: 18px 20px;
}
.report-card__label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-400);
  display: block; margin-bottom: 6px;
}
.report-card__num {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 400;
  letter-spacing: -0.02em; color: var(--ink-1000);
  display: block; line-height: 1.1;
}
.report-card__delta { font-size: 13px; font-weight: 500; color: #1a8a4a; display: block; margin-top: 4px; }
.report-card__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.report-card__mini { background: var(--bone-100); border-radius: 8px; padding: 14px 16px; }
.report-card__mini-num {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 400;
  letter-spacing: -0.02em; color: var(--ink-1000);
  display: block; line-height: 1.1; margin-top: 4px;
}
.report-card__tasks {
  border-top: 1px solid var(--ink-100);
  padding-top: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.report-card__task {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; line-height: 1.5; color: var(--ink-700);
}
.report-card__task-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ink-300); flex-shrink: 0; margin-top: 5px;
}
.report-card__task-dot--warn { background: #f59e0b; }

/* Agents catalog grid */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.agent-card {
  background: #FFFFFF;
  border: 1px solid var(--ink-100);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.agent-card__icon {
  width: 44px;
  height: 44px;
  background: var(--ink-1000);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.agent-card__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--bone-50);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.agent-card__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-1000);
  margin: 0;
}
.agent-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-600);
  margin: 0;
}
.agent-card--more {
  background: transparent;
  border-style: dashed;
  border-color: var(--ink-300);
}
.agent-card--more .agent-card__icon {
  background: transparent;
  border: 1px solid var(--ink-300);
}
.agent-card--more .agent-card__icon svg {
  stroke: var(--ink-1000);
}
@media (max-width: 1024px) {
  .agents-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .agents-grid { grid-template-columns: 1fr; }
}
