/* ==========================================================================
   Nexia — static rebuild of the Framer site (nexiaagency.io)
   Values (sizes, colours, radii, shadows) are taken from the live Framer page.
   ========================================================================== */

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("../fonts/instrument-sans-latin-ext-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/instrument-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f7f7f8;
  --stripe: #f0f0f3;       /* #e0e0e6 at 30% over the page background, as on Framer */
  --white: #ffffff;
  --ink: #0d0d17;          /* headings */
  --ink-2: #1b1b25;        /* dark buttons, pill text */
  --ink-3: #272731;        /* nav links, light button text */
  --text: #45454f;         /* body copy */
  --text-2: #61616b;       /* secondary */
  --muted: #94949e;        /* grey headline words */
  --line: #e0e0e6;         /* card borders */
  --line-2: #c9c9d2;       /* outline pills, light buttons */
  --chip: #f1f1f4;
  --lime: #adc213;         /* lime pills, icons, CTA */
  --lime-text: #96a80f;    /* lime words in text */
  --lime-soft: #cfe718;
  --dark: #0d0d17;

  --shadow-card: 0 1px 2px 0 rgba(9, 13, 3, .05);
  --shadow-btn: 0 1px 2px 0 rgba(3, 3, 13, .03), 0 1px 3px 0 rgba(3, 3, 13, .05);

  --wrap: 1152px;
  --font: "Instrument Sans", "Instrument Sans Placeholder", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  color: var(--text);
  background-color: var(--bg);
  background-image: repeating-linear-gradient(45deg, var(--stripe) 0, var(--stripe) 1px, transparent 1px, transparent 8px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink-2); color: #fff; padding: 8px 14px; border-radius: 8px; font-size: 14px; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }

/* ---------- Type ---------- */
.h-display { font-size: 60px; line-height: 72px; font-weight: 600; color: var(--ink); text-align: center; letter-spacing: 0; }
.h2 { font-size: 36px; line-height: 44px; font-weight: 600; color: var(--ink); text-align: center; }
.h3 { font-size: 30px; line-height: 38px; font-weight: 600; color: var(--ink); }
.h5 { font-size: 18px; line-height: 28px; font-weight: 600; color: var(--ink); }
.grey { color: var(--muted); }
.lime-text { color: var(--lime-text); }
.lead { font-size: 18px; line-height: 28px; color: var(--text); text-align: center; }
.desc { font-size: 16px; line-height: 24px; color: var(--text); text-align: center; }

/* ---------- Pills / badges ---------- */
.pill {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 2px 10px; border-radius: 999px; font-size: 14px; line-height: 20px; font-weight: 500; white-space: nowrap;
}
.pill--lime { background: var(--lime); color: #fff; }
.pill--outline { background: #fff; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.pill--gray { background: var(--chip); color: var(--ink-2); }
.pill--dark { background: rgba(207, 231, 24, .1); color: var(--lime-soft); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 10px 16px; border-radius: 8px; overflow: hidden;
  font-size: 16px; line-height: 24px; font-weight: 500; white-space: nowrap;
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn__label { padding: 0 8px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--md { height: 36px; padding: 8px 14px; font-size: 14px; line-height: 20px; }
.btn--dark { background: var(--ink-2); color: #fff; box-shadow: var(--shadow-btn), inset 0 1px 0 1px rgba(255, 255, 255, .15); }
.btn--dark:hover { background: #2c2c38; }
.btn--light { background: #fff; color: var(--ink-3); box-shadow: var(--shadow-btn), inset 0 0 0 1px var(--line-2); }
.btn--light:hover { background: #f7f7f8; }
.btn--light svg { color: var(--text-2); }
.btn--lime { background: var(--lime); color: #fff; box-shadow: var(--shadow-btn), inset 0 1px 0 1px rgba(255, 255, 255, .3); }
.btn--lime:hover { background: #9fb310; }
.btn--block { width: 100%; }

/* ---------- Cards ---------- */
.card {
  position: relative; background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--line);
}

/* ---------- Section shell ---------- */
.section { padding-block: 96px; }
.section__head { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 640px; margin-inline: auto; text-align: center; }
.section__head .desc { max-width: 520px; }
.section__body { margin-top: 48px; }

/* ---------- Navigation (top of page) ---------- */
.nav { position: relative; z-index: 40; }
.nav__inner {
  max-width: var(--wrap); margin-inline: auto; height: 84px; padding: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav__logo img { width: 105px; height: auto; }
.nav__links { display: flex; align-items: center; gap: 8px; }
.nav__links a {
  display: inline-flex; align-items: center; height: 36px; padding: 8px 14px; border-radius: 8px;
  font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink-3);
  transition: background-color .2s ease;
}
.nav__links a:hover, .nav__links a.is-active { background: var(--chip); }
.nav__burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 8px; }
.nav__burger span { position: relative; display: block; width: 22px; height: 12px; }
.nav__burger span::before, .nav__burger span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav__burger span::before { top: 0; }
.nav__burger span::after { top: 10px; }
.menu-open .nav__burger span::before { top: 5px; transform: rotate(45deg); }
.menu-open .nav__burger span::after { top: 5px; transform: rotate(-45deg); }

/* Floating nav that slides in on scroll */
.flyout {
  position: fixed; top: 8px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center;
  padding-inline: 8px; pointer-events: none;
  transform: translateY(-84px); transition: transform .45s var(--ease);
}
.flyout.is-visible { transform: none; }
.flyout__inner {
  pointer-events: auto; width: auto; min-width: 752px; max-width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 24px;
  padding: 8px 8px 8px 14px; background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--line);
}
.flyout__inner .nav__logo { margin-right: auto; }
.flyout__inner .nav__links { gap: 8px; }

/* Mobile menu panel */
.menu {
  position: fixed; top: 8px; left: 8px; right: 8px; z-index: 60;
  background: #fff; border-radius: 16px; padding: 12px 12px 16px;
  box-shadow: 0 12px 40px rgba(9, 13, 3, .12), inset 0 0 0 1px var(--line);
  display: none;
}
.menu-open .menu { display: block; }
.menu__top { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 12px 8px; }
.menu__links a { display: block; padding: 12px 8px; font-size: 16px; font-weight: 500; color: var(--ink-3); border-top: 1px solid var(--line); }
.menu .btn { margin-top: 12px; width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: 8px; }
.hero__card {
  max-width: var(--wrap); margin-inline: auto; border-radius: 32px; overflow: hidden;
  padding: 54px 24px; display: flex; flex-direction: column; align-items: center; gap: 96px;
}
.hero__content { display: flex; flex-direction: column; align-items: center; gap: 32px; width: 100%; }
.hero__header { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 845px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 2px 2px 2px 10px; border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink);
}
.hero__badge b { font-weight: 500; color: var(--lime-text); }
.avatars { display: flex; align-items: center; }
.avatars span { width: 20px; height: 20px; padding: 1px; border-radius: 50%; background: #fff; }
.avatars span + span { margin-left: -6px; }
.avatars img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.hero .lead { max-width: 560px; }
.actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

.logos { width: 100%; max-width: 1104px; padding-inline: 24px; display: flex; flex-direction: column; align-items: center; gap: 58px; }
.logos__title { font-size: 16px; line-height: 24px; font-weight: 500; color: var(--text); text-align: center; }

/* Marquees */
.marquee { position: relative; width: 100%; overflow: hidden; }
.marquee--fade {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12.5%, #000 87.5%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 12.5%, #000 87.5%, transparent 100%);
}
.marquee__track { display: flex; width: max-content; animation: marquee var(--duration, 30s) linear infinite; }
.marquee__track.is-reverse { animation-direction: reverse; }
.marquee__group { display: flex; align-items: center; flex: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.logos .marquee__group { gap: 64px; padding-right: 64px; }
.logos img { height: 24px; width: auto; }
.logos img.is-thin { height: 11px; }
.logos img.is-slim { height: 12px; }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: var(--wrap); margin-inline: auto; }
.service { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 8px; font-size: 16px; line-height: 24px; color: var(--text); }
.checklist svg { width: 20px; height: 20px; margin-top: 2px; flex: none; color: var(--lime); }

/* ---------- Growth outcomes ---------- */
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: var(--wrap); margin-inline: auto; }
.kpi { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.kpi__metric { font-size: 48px; line-height: 48px; font-weight: 700; letter-spacing: -1.5px; color: var(--ink); }
.kpi__label { font-size: 16px; line-height: 22.4px; font-weight: 500; color: var(--muted); }

/* ---------- Portfolio ---------- */
.work { padding-block: 96px; }
.work .marquee { margin-top: 48px; }
.work .marquee__group { gap: 16px; padding-right: 16px; align-items: flex-start; }
.work__item { width: 350px; height: 420px; border-radius: 16px; overflow: hidden; flex: none; background: #e9e9ee; }
.work__item img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- About / team ---------- */
.about { padding: 8px; }
.about__card {
  max-width: var(--wrap); margin-inline: auto; border-radius: 32px; padding: 96px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 48px;
}
.about__text { max-width: 640px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.about__paras { display: flex; flex-direction: column; gap: 20px; }
.about__paras p { font-size: 18px; line-height: 28px; color: var(--ink); }
.about__paras p.is-soft { color: var(--text-2); }
.team { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.member { width: 148px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.member__ring { width: 60px; height: 60px; padding: 2px; border-radius: 99px; background: #fff; }
.member__ring div { width: 56px; height: 56px; border-radius: 60px; overflow: hidden; background: #ffdbde; }
.member__ring div.is-blue { background: #ccf1ff; }
.member__ring img { width: 100%; height: 100%; object-fit: cover; }
.member__name { font-size: 16px; line-height: 24px; font-weight: 500; color: var(--ink); }
.member__role { margin-top: 2px; font-size: 14px; line-height: 20px; color: var(--text-2); }

/* ---------- Benefits ---------- */
.benefits__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; max-width: var(--wrap); margin-inline: auto; }
.benefit { min-height: 272px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.benefit--wide { grid-column: span 2; }
.benefit svg { width: 32px; height: 32px; color: var(--lime); }
.benefit__body { display: flex; flex-direction: column; gap: 8px; }
.benefit__body p { font-size: 14px; line-height: 20px; color: var(--ink); }

/* ---------- Steps (stacked cards) ---------- */
.steps__list { width: 560px; max-width: 100%; margin: 48px auto 0; display: flex; flex-direction: column; gap: 16px; }
.step {
  position: sticky; top: 196px; will-change: transform; transform-origin: 50% 50%;
}
.step:nth-child(even) { top: 228px; }
.step__card {
  display: flex; align-items: flex-start; gap: 16px; padding: 32px; border-radius: 27px;
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--step-line, #e4ef52);
  background: var(--step-bg, #e4ef52); color: var(--ink);
}
.step__card svg { width: 24px; height: 24px; margin-top: 2px; flex: none; }
.step__card p { margin-top: 8px; font-size: 16px; line-height: 24px; color: var(--ink); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 350px); justify-content: center; gap: 22px; margin-top: 48px; }
.plan { padding: 32px; display: flex; flex-direction: column; gap: 32px; }
.plan:first-child { padding-block: 35px; gap: 28px; }
.plan__content { display: flex; flex-direction: column; gap: 24px; flex: 1; }
.plan__head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.plan__head .desc { text-align: left; }
.plan .btn { margin-top: auto; }
.plan:nth-child(2) .h3 { margin-top: 13px; }  /* matches Framer's slightly lower heading in the middle card */

.tabs-block { margin-top: 64px; display: flex; flex-direction: column; align-items: center; gap: 32px; max-width: var(--wrap); margin-inline: auto; }
.tabs { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--chip); }
.tabs__fill { position: absolute; top: 4px; left: 0; height: 32px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-card); transition: transform .4s var(--ease), width .4s var(--ease); }
.tabs button { position: relative; z-index: 1; height: 32px; padding: 6px 16px; border-radius: 999px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink); }
.tab-panel { width: 100%; display: flex; align-items: center; gap: 16px; }
.tab-panel[hidden] { display: none; }
.tab-panel.is-entering .feature { animation: panel-in .5s var(--ease) both; }
.tab-panel.is-entering .feature:nth-of-type(2) { animation-delay: .05s; }
.tab-panel.is-entering .feature:nth-of-type(3) { animation-delay: .1s; }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.feature { flex: 1 1 0; min-width: 0; min-height: 228px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.feature__top { display: flex; align-items: center; justify-content: space-between; min-height: 32px; }
.feature__top svg { width: 32px; height: 32px; color: var(--ink); }
.feature__body { display: flex; flex-direction: column; gap: 8px; }
.feature__body p { font-size: 16px; line-height: 24px; color: var(--text); }
.feature--dark { background: var(--dark); box-shadow: var(--shadow-card); }
.feature--dark .h5 { color: #fff; }
.feature--dark svg { color: #fff; }
.feature--dark .feature__body p { color: #c9c9d2; }
.tab-panel__sep { flex: none; width: 20px; text-align: center; font-size: 18px; line-height: 28px; font-weight: 600; color: var(--ink); }
.tab-panel__sep svg { width: 20px; height: 20px; color: var(--ink); }

/* ---------- Testimonials (hidden until real quotes are added) ---------- */
.testimonials .marquee { margin-top: 48px; }
.testimonials .marquee + .marquee { margin-top: 16px; }
.testimonials .marquee__group { gap: 16px; padding-right: 16px; }
.quote { width: 360px; min-height: 188px; padding: 24px; display: flex; flex-direction: column; gap: 24px; flex: none; }
.quote p { font-size: 16px; line-height: 24px; color: var(--text); }
.quote__who { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.quote__who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.quote__name { font-size: 16px; line-height: 24px; font-weight: 500; color: var(--ink); }
.quote__role { font-size: 14px; line-height: 20px; color: var(--text-2); }

/* ---------- FAQ ---------- */
.faq__list { width: 640px; max-width: 100%; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq__item { padding: 20px 24px; }
.faq__q {
  width: 100%; display: flex; align-items: center; gap: 16px; text-align: left;
  font-size: 16px; line-height: 24px; font-weight: 500; color: var(--ink);
}
.faq__q span { flex: 1; }
.faq__q svg { width: 16px; height: 16px; color: var(--text-2); transition: transform .35s var(--ease), color .2s; }
.faq__item.is-open .faq__q svg { transform: rotate(180deg); color: var(--ink); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { max-width: 520px; padding-top: 16px; font-size: 16px; line-height: 24px; color: var(--text); white-space: pre-line; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ---------- CTA ---------- */
.cta { padding: 8px; }
.cta__card {
  max-width: var(--wrap); margin-inline: auto; border-radius: 16px; padding: 96px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
}
.cta .lead { max-width: 520px; }

/* ---------- Footer ---------- */
.footer { padding: 8px; }
.footer__inner {
  max-width: var(--wrap); margin-inline: auto; padding: 24px; border-radius: 16px; background: var(--dark);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 14px; line-height: 20px; color: #c9c9d2; box-shadow: var(--shadow-card);
}
.footer__links { display: flex; gap: 24px; }
.footer__links a:hover { color: #fff; }

/* ---------- Scroll reveal (only when JS is on) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(48px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Simple pages ---------- */
.page-card { max-width: var(--wrap); margin: 8px auto; border-radius: 32px; padding: 72px 24px; }
.prose { max-width: 680px; margin: 32px auto 0; color: var(--text); }
.prose h2 { margin: 36px 0 10px; font-size: 20px; line-height: 28px; font-weight: 600; color: var(--ink); }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 6px; }
.prose a { color: var(--ink); text-decoration: underline; }

/* ==========================================================================
   Tablet (Framer breakpoint 810–1199)
   ========================================================================== */
@media (max-width: 1199px) {
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit--wide { grid-column: span 2; }
  .plans { grid-template-columns: repeat(auto-fit, minmax(300px, 350px)); }
  .tab-panel { flex-wrap: wrap; justify-content: center; }
  .feature { flex: 1 1 300px; }
  .tab-panel__sep { display: none; }
}

/* ==========================================================================
   Mobile (Framer breakpoint < 810)
   ========================================================================== */
@media (max-width: 809px) {
  .nav__inner { height: 72px; padding: 16px 20px; }
  .nav__inner .nav__links, .nav__inner .btn { display: none; }
  .nav__burger { display: inline-flex; }
  .flyout__inner { padding: 8px 8px 8px 14px; }
  .flyout__inner .nav__links, .flyout__inner .btn { display: none; }
  .flyout__inner .nav__logo { margin-right: auto; }

  .h-display { font-size: 40px; line-height: 48px; }
  .h2 { font-size: 30px; line-height: 38px; }
  .hero__card { padding: 48px 16px; gap: 72px; border-radius: 24px; }
  .hero .actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero .actions .btn { width: 100%; }
  .lead { font-size: 17px; line-height: 26px; }

  .section, .work { padding-block: 72px; }
  .services__grid, .kpis, .benefits__grid { grid-template-columns: 1fr; }
  .benefit, .benefit--wide { grid-column: auto; min-height: 200px; }
  .kpi__metric { font-size: 44px; line-height: 46px; }
  .work__item { width: 280px; height: 336px; }

  .about__card { padding: 72px 16px; border-radius: 24px; }
  .about__paras p { font-size: 17px; line-height: 26px; }
  .team { display: grid; grid-template-columns: repeat(2, 148px); justify-content: center; row-gap: 24px; }

  .steps__list { margin-top: 40px; }
  .step { top: 96px; }
  .step:nth-child(even) { top: 112px; }
  .step__card { padding: 24px; }

  .plans { grid-template-columns: minmax(0, 1fr); }
  .tabs button { padding: 6px 12px; font-size: 13px; }
  .feature { flex-basis: 100%; }

  .quote { width: 300px; }
  .cta__card { padding: 72px 16px; }
  .cta .actions { flex-direction: column; align-items: stretch; width: 100%; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .step { transform: none !important; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   Products: nav submenu, section, mockups, product pages, Cal.com booking
   ========================================================================== */

/* ---------- Nav: Products submenu ---------- */
.nav__item { position: relative; display: flex; }
.nav__links .nav__trigger { gap: 4px; }
.nav__trigger svg { width: 12px; height: 12px; color: var(--text-2); transition: transform .25s var(--ease); }
.submenu {
  position: absolute; top: 100%; left: 50%; z-index: 80; padding-top: 10px;
  width: 340px; transform: translate(-50%, 6px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .25s var(--ease), visibility 0s linear .25s;
}
.submenu__panel {
  background: #fff; border-radius: 16px; padding: 8px;
  box-shadow: 0 16px 40px rgba(9, 13, 3, .10), 0 1px 2px rgba(9, 13, 3, .05), inset 0 0 0 1px var(--line);
}
.nav__item.is-open .submenu,
html:not(.js) .nav__item:focus-within .submenu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
  transition: opacity .2s ease, transform .25s var(--ease), visibility 0s;
}
@media (hover: hover) and (pointer: fine) {
  html:not(.js) .nav__item:hover .submenu {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
    transition: opacity .2s ease, transform .25s var(--ease), visibility 0s;
  }
  .nav__item:hover .nav__trigger svg { transform: rotate(180deg); }
}
.nav__item.is-open .nav__trigger svg { transform: rotate(180deg); }
.nav__links .submenu a {
  display: flex; align-items: flex-start; gap: 12px; height: auto; padding: 10px; border-radius: 10px;
  font-size: 14px; line-height: 20px; color: var(--ink);
}
.nav__links .submenu a:hover, .nav__links .submenu a:focus-visible { background: var(--bg); }
.submenu__icon {
  flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--chip); color: var(--ink);
}
.submenu__icon svg { width: 20px; height: 20px; }
.submenu__icon.is-lime { background: var(--lime); color: #fff; }
.submenu__icon.is-dark { background: var(--dark); color: var(--lime-soft); }
.submenu__text { display: flex; flex-direction: column; }
.submenu__text b { font-weight: 600; }
.submenu__text small { font-size: 13px; line-height: 18px; color: var(--text-2); font-weight: 400; }
.nav__links .submenu .submenu__all {
  display: flex; justify-content: space-between; align-items: center; margin-top: 4px; padding: 10px 12px;
  border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; color: var(--text); font-weight: 500;
}
.submenu__all svg { width: 14px; height: 14px; }

.menu__group { border-top: 1px solid var(--line); padding: 4px 0 8px; }
.menu__group p { padding: 12px 8px 4px; font-size: 16px; font-weight: 500; color: var(--ink-3); }
.menu__links .menu__group a { border-top: 0; padding: 8px 8px 8px 20px; font-size: 15px; color: var(--text); }

/* ---------- Products section ---------- */
.products__story {
  max-width: var(--wrap); margin: 48px auto 16px; padding: 40px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center;
}
.products__story .h3 { max-width: 420px; }
.products__story-text { margin-top: 16px; font-size: 16px; line-height: 24px; color: var(--text); max-width: 460px; }
.origin { display: flex; flex-direction: column; gap: 12px; }
.origin li { display: flex; gap: 16px; padding: 16px; border-radius: 12px; background: var(--bg); }
.origin__n {
  flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; color: var(--ink);
}
.origin li:last-child .origin__n { background: var(--lime); color: #fff; box-shadow: none; }
.origin h3 { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ink); }
.origin p { font-size: 14px; line-height: 20px; color: var(--text); margin-top: 2px; }

.products__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: var(--wrap); margin-inline: auto; }
.product { display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .3s ease, transform .3s var(--ease); }
.product:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(9, 13, 3, .08), inset 0 0 0 1px var(--line); }
.product__preview { padding: 16px 16px 0; background: var(--bg); border-bottom: 1px solid var(--line); overflow: hidden; height: 236px; }
.product__body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.product__body > .desc { text-align: left; }
.product__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product .checklist { gap: 8px; }
.product .checklist li { font-size: 15px; line-height: 22px; }
.product__actions { margin-top: auto; padding-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.product__actions .btn { flex: 1 1 auto; }
.ext-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-2); }
.ext-link:hover { color: var(--ink); }
.ext-link svg { width: 14px; height: 14px; }

/* ---------- Mock browser + product UIs (pure CSS previews) ---------- */
.mock {
  --u: 1px; font-size: 11px; line-height: 1.35; color: var(--ink);
  background: #fff; border-radius: 12px 12px 0 0; box-shadow: 0 1px 2px rgba(9,13,3,.05), inset 0 0 0 1px var(--line);
  overflow: hidden; height: 100%; display: flex; flex-direction: column; text-align: left;
}
.mock--lg { font-size: 14px; border-radius: 16px; height: auto; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: .7em .9em; border-bottom: 1px solid var(--line); background: #fbfbfc; }
.mock__bar i { width: .65em; height: .65em; border-radius: 50%; background: #dcdce3; }
.mock__url { margin-left: .6em; flex: 1; max-width: 22em; padding: .2em .8em; border-radius: 999px; background: var(--chip); color: var(--text-2); font-size: .9em; }
.mock__app { flex: 1; display: grid; grid-template-columns: 2.6em 1fr; min-height: 0; }
.mock__side { background: var(--dark); display: flex; flex-direction: column; align-items: center; gap: .8em; padding-top: .9em; }
.mock__side i { width: 1.1em; height: 1.1em; border-radius: .3em; background: rgba(255,255,255,.18); }
.mock__side i:first-child { background: var(--lime); }
.mock__main { padding: .9em; display: flex; flex-direction: column; gap: .7em; min-width: 0; }
.mock__title { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 1.05em; }
.mock__chip { display: inline-flex; align-items: center; gap: .35em; padding: .15em .6em; border-radius: 999px; background: var(--chip); color: var(--ink-2); font-size: .85em; font-weight: 500; white-space: nowrap; }
.mock__chip.is-lime { background: rgba(173,194,19,.16); color: #6f7d05; }
.mock__chip.is-dark { background: var(--dark); color: var(--lime-soft); }
.mock__chip.is-blue { background: #e6efff; color: #2457c5; }
.mock__chip.is-pink { background: #ffe7ee; color: #b8325a; }
.mock__kpis { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .6em; }
.mock__kpi { padding: .6em .7em; border-radius: .6em; box-shadow: inset 0 0 0 1px var(--line); }
.mock__kpi span { display: block; color: var(--text-2); font-size: .85em; }
.mock__kpi b { display: block; font-size: 1.35em; font-weight: 700; letter-spacing: -.02em; margin-top: .1em; }
.mock__kpi em { font-style: normal; color: #6f7d05; font-size: .8em; font-weight: 600; }
.mock__chart { display: flex; align-items: flex-end; gap: .45em; height: 4.4em; padding: .5em .6em; border-radius: .6em; box-shadow: inset 0 0 0 1px var(--line); }
.mock__chart i { flex: 1; border-radius: .25em .25em 0 0; background: #e4e4ea; }
.mock__chart i.is-on { background: var(--lime); }
.mock__rows { display: flex; flex-direction: column; gap: .4em; }
.mock__row { display: flex; align-items: center; justify-content: space-between; gap: .6em; padding: .5em .6em; border-radius: .5em; box-shadow: inset 0 0 0 1px var(--line); }
.mock__row b { font-weight: 600; }
.mock__row small { display: block; color: var(--text-2); font-size: .85em; }
.mock__pin { width: 1.6em; height: 1.6em; border-radius: 50%; display: grid; place-items: center; background: var(--chip); flex: none; margin-right: .5em; }
.mock__pin svg { width: .95em; height: .95em; color: var(--lime); }
.mock__who { display: flex; align-items: center; min-width: 0; }

.mock__board { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .5em; flex: 1; }
.mock__col { background: var(--bg); border-radius: .6em; padding: .5em; display: flex; flex-direction: column; gap: .45em; min-width: 0; }
.mock__col > span { display: flex; justify-content: space-between; color: var(--text-2); font-weight: 600; font-size: .85em; }
.mock__card { background: #fff; border-radius: .5em; padding: .5em; box-shadow: 0 1px 2px rgba(9,13,3,.05), inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: .35em; min-width: 0; }
.mock__card b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__card small { color: var(--text-2); font-size: .82em; }
.mock__lea { display: flex; align-items: center; gap: .5em; padding: .5em .7em; border-radius: .6em; background: var(--dark); color: #fff; font-size: .9em; }
.mock__lea i { width: 1.4em; height: 1.4em; border-radius: 50%; background: var(--lime); flex: none; }
.mock__lea span { color: #c9c9d2; }

.mock__lead { display: flex; flex-direction: column; gap: .6em; }
.mock__person { display: flex; align-items: center; gap: .7em; }
.mock__avatar { width: 2.6em; height: 2.6em; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: #fff; font-weight: 700; flex: none; }
.mock__person b { font-weight: 600; font-size: 1.1em; }
.mock__person small { display: block; color: var(--text-2); }
.mock__facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .4em; }
.mock__fact { padding: .45em .6em; border-radius: .5em; background: var(--bg); }
.mock__fact span { display: block; color: var(--text-2); font-size: .82em; }
.mock__fact b { font-weight: 600; }
.mock__quote { padding: .55em .7em; border-radius: .5em; box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font-size: .92em; }
.mock__quote [dir="rtl"] { display: block; font-size: 1.05em; color: var(--ink); margin-bottom: .2em; }
.mock__badges { display: flex; flex-wrap: wrap; gap: .4em; }
.mock--plain .mock__app { grid-template-columns: 1fr; }

/* ---------- Product pages ---------- */
.p-hero { padding: 8px; }
.p-hero__card {
  max-width: var(--wrap); margin-inline: auto; border-radius: 32px; overflow: hidden;
  padding: 64px 24px 0; display: flex; flex-direction: column; align-items: center; gap: 48px;
}
.p-hero__head { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 760px; text-align: center; }
.p-hero__head .lead { max-width: 620px; }
.p-hero__shot { width: 100%; max-width: 980px; padding: 20px 20px 0; border-radius: 20px 20px 0 0; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.p-hero__shot .mock { border-radius: 14px 14px 0 0; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--text-2); }
.crumbs a:hover { color: var(--ink); }

.p-story { max-width: 860px; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.p-story p.lead { max-width: 680px; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: var(--wrap); margin: 48px auto 0; }
.feature-card { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.feature-card svg { width: 28px; height: 28px; color: var(--lime); margin-bottom: 6px; }
.feature-card p { font-size: 15px; line-height: 22px; color: var(--text); }
.feature-card .mock__chip { align-self: flex-start; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: var(--wrap); margin: 48px auto 0; }
.fact { padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.fact b { font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -1px; color: var(--ink); }
.fact span { font-size: 15px; line-height: 22px; color: var(--text-2); font-weight: 500; }
.more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 900px; margin: 48px auto 0; }
.more a { padding: 24px; display: flex; align-items: center; gap: 16px; transition: transform .3s var(--ease); }
.more a:hover { transform: translateY(-3px); }
.more .submenu__icon { width: 44px; height: 44px; border-radius: 12px; }
.more p { font-size: 14px; line-height: 20px; color: var(--text-2); }

/* ---------- Cal.com booking ---------- */
.book { width: 100%; max-width: 1040px; margin-inline: auto; }
.book__frame { position: relative; width: 100%; min-height: 640px; border-radius: 16px; }
/* While Cal.com loads: a quiet placeholder. Once loaded, Cal's own card sits directly on the white section. */
.book:not(.is-ready) .book__frame { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.book__frame > div { width: 100%; min-height: 640px; }
.book.is-ready .book__frame, .book.is-ready .book__frame > div { min-height: 0; }
.book.is-ready #cal-inline { margin-top: -12px; }
.book__loading {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px;
  color: var(--text-2); font-size: 14px; text-align: center; padding: 24px;
}
.book__spinner { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--ink); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.book.is-ready .book__loading { display: none; }
.book__alt { margin-top: 16px; font-size: 14px; line-height: 20px; color: var(--text-2); text-align: center; }
.book__alt a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1199px) {
  .products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products__grid .product:last-child { grid-column: 1 / -1; max-width: 560px; justify-self: center; width: 100%; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .flyout__inner { min-width: 0; }
  .flyout__inner .nav__links a { padding-inline: 10px; }
}
@media (max-width: 809px) {
  .products__story { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .products__grid, .features, .more { grid-template-columns: 1fr; }
  .products__grid .product:last-child { max-width: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact b { font-size: 24px; line-height: 30px; }
  .p-hero__card { padding: 48px 16px 0; border-radius: 24px; }
  .p-hero__shot { padding: 10px 10px 0; }
  .mock--lg { font-size: 11px; }
  .mock__board { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mock__board .mock__col:nth-child(n+3) { display: none; }
  .book__frame, .book__frame > div { min-height: 560px; }
}
.product__preview { display: block; }
.cta__card .book { margin-top: 8px; }
.features--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-card .checklist { margin-top: 6px; gap: 8px; }
.feature-card .checklist li { font-size: 15px; line-height: 22px; }
.feature-card .checklist svg { width: 18px; height: 18px; margin-bottom: 0; }
.nav__trigger[aria-current], .submenu a[aria-current="page"] { background: var(--bg); }
@media (max-width: 1199px) { .features--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 809px) { .features--4 { grid-template-columns: 1fr; } }

/* ---------- Thank-you page ---------- */
.ty .p-hero__head { max-width: 720px; }
.ty__details { width: 100%; max-width: 560px; margin: 4px auto 0; display: grid; gap: 0; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); text-align: left; }
.ty__details > div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 16px; }
.ty__details > div + div { border-top: 1px solid var(--line); }
.ty__details dt { font-size: 14px; color: var(--text-2); }
.ty__details dd { margin: 0; font-size: 15px; font-weight: 500; color: var(--ink); }
@media (max-width: 809px) { .ty__details > div { grid-template-columns: 1fr; gap: 2px; } }
.p-hero__card.ty { padding-bottom: clamp(48px, 7vw, 88px); }
.p-hero:has(.ty) + .section { padding-top: clamp(48px, 7vw, 96px) !important; }

/* ---------- Product logos in menus and cards ---------- */
.pmark { overflow: hidden; }
.pmark img { display: block; }
.pmark--fill img { width: 100%; height: 100%; object-fit: cover; }
.pmark--tile { background: #fff; border: 1px solid var(--line); }
.pmark--tile img { width: 100%; height: 100%; }

/* ---------- Product screenshots ---------- */
.shot { position: relative; }
.shot img { display: block; max-width: none; height: auto; }
.shot--synapse img { width: 100%; filter: drop-shadow(0 10px 24px rgba(9, 13, 3, .08)); }
.shot--crm { padding-top: 5%; }
.shot--crm .shot__win { width: 80%; filter: drop-shadow(0 12px 28px rgba(9, 13, 3, .1)); }
.shot--crm .shot__phone { position: absolute; top: 0; right: 1%; width: 23%; filter: drop-shadow(0 14px 28px rgba(9, 13, 3, .18)); }
.product__preview .shot--crm { padding-top: 10px; }
.product__preview .shot--crm .shot__phone { top: 0; right: 0; width: 24%; }
.p-hero__shot:has(.shot) { padding-bottom: 20px; border-radius: 20px; }
.product:hover .shot--crm .shot__phone { transform: translateY(-4px); }
.shot--crm .shot__phone { transition: transform .4s var(--ease); }
@media (prefers-reduced-motion: reduce) { .shot--crm .shot__phone { transition: none; } }
.p-hero__card:has(.shot) { padding-bottom: 24px; }
@media (max-width: 767px) { .p-hero__card:has(.shot) { padding-bottom: 16px; } .p-hero__shot:has(.shot) { padding-bottom: 10px; border-radius: 16px; } }
.products__cta { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; }
@media (max-width: 767px) { .products__cta { flex-direction: column; align-items: flex-start; } }
.products__cta p { font-size: 16px; line-height: 24px; color: var(--text); }
.products__cta b { color: var(--ink); font-weight: 600; }
